Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 209.5 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.943/2.943, allocations: 0.5003 GB / 0.8026 GB, free: 6.859 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 71.89 kB / 1.165 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8688/0.8707, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002691/0.8734, allocations: 1.702 MB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001866/0.8753, allocations: 1.408 MB / 1.343 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.8754, allocations: 7.531 kB / 1.343 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003737/0.8758, allocations: 85.89 kB / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.876, allocations: 78.83 kB / 1.343 GB, free: 13.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000946/0.8769, allocations: 269.7 kB / 1.344 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000286/0.8772, allocations: 186.7 kB / 1.344 GB, free: 13.81 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.8772, allocations: 6.281 kB / 1.344 GB, free: 13.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.8774, allocations: 87.17 kB / 1.344 GB, free: 13.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.8775, allocations: 90.33 kB / 1.344 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.8775, allocations: 7.062 kB / 1.344 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005629/0.8781, allocations: 343.5 kB / 1.344 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.226e-05/0.8782, allocations: 62.88 kB / 1.344 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.691e-05/0.8783, allocations: 97 kB / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005448/0.8788, allocations: 386.8 kB / 1.345 GB, free: 13.44 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.8788, allocations: 1.375 kB / 1.345 GB, free: 13.44 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8788, allocations: 0 / 1.345 GB, free: 13.44 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.8788, allocations: 0 / 1.345 GB, free: 13.44 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007786/0.8796, allocations: 0.5704 MB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.8797, allocations: 9.625 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.434e-05/0.8797, allocations: 1.562 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.377e-05/0.8797, allocations: 36.97 kB / 1.345 GB, free: 12.9 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.834e-05/0.8797, allocations: 22.42 kB / 1.345 GB, free: 12.89 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.8801, allocations: 288 kB / 1.346 GB, free: 12.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.784e-05/0.8802, allocations: 59.02 kB / 1.346 GB, free: 12.58 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.8803, allocations: 10.88 kB / 1.346 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.8805, allocations: 89.61 kB / 1.346 GB, free: 12.53 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.8805, allocations: 0.7031 kB / 1.346 GB, free: 12.53 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.8805, allocations: 3.938 kB / 1.346 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.8805, allocations: 5.359 kB / 1.346 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.8807, allocations: 96.97 kB / 1.346 GB, free: 12.51 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/0.8809, allocations: 260.1 kB / 1.346 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.8823, allocations: 294.7 kB / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.8824, allocations: 65.05 kB / 1.347 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.8825, allocations: 101.7 kB / 1.347 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.115e-05/0.8825, allocations: 35.22 kB / 1.347 GB, free: 12.06 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.8825, allocations: 0 / 1.347 GB, free: 12.06 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0004636/0.883, allocations: 203.1 kB / 1.347 GB, free: 12 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/0.883, allocations: 55.34 kB / 1.347 GB, free: 11.93 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.8833, allocations: 310.4 kB / 1.347 GB, free: 11.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.8833, allocations: 25.7 kB / 1.347 GB, free: 11.72 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.8833, allocations: 119.6 kB / 1.347 GB, free: 11.62 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.8833, allocations: 19.95 kB / 1.347 GB, free: 11.6 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.95e-05/0.8834, allocations: 60.52 kB / 1.347 GB, free: 11.57 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.648e-05/0.8835, allocations: 331.8 kB / 1.348 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.8837, allocations: 153.6 kB / 1.348 GB, free: 11.21 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.8839, allocations: 158.5 kB / 1.348 GB, free: 11.17 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/0.8843, allocations: 295.1 kB / 1.348 GB, free: 11.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8843, allocations: 1.25 kB / 1.348 GB, free: 11.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000488/0.8848, allocations: 406.8 kB / 1.349 GB, free: 10.92 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.8848, allocations: 9.375 kB / 1.349 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.8848, allocations: 2.172 kB / 1.349 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.8848, allocations: 1 kB / 1.349 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.143e-05/0.8849, allocations: 13.86 kB / 1.349 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.8849, allocations: 1.641 kB / 1.349 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.885, allocations: 41 kB / 1.349 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.885, allocations: 6.766 kB / 1.349 GB, free: 10.88 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.62e-05/0.8851, allocations: 128.6 kB / 1.349 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.8851, allocations: 24.31 kB / 1.349 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003233/0.8854, allocations: 168.2 kB / 1.349 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.8854, allocations: 5.406 kB / 1.349 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.8855, allocations: 0 / 1.349 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.8855, allocations: 0.7031 kB / 1.349 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.8856, allocations: 241.6 kB / 1.349 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.8856, allocations: 0.7031 kB / 1.349 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.768e-05/0.8857, allocations: 13.67 kB / 1.349 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.8857, allocations: 2 kB / 1.349 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.8857, allocations: 1.031 kB / 1.349 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.8857, allocations: 0 / 1.349 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8857, allocations: 1.953 kB / 1.349 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.886, allocations: 195.3 kB / 1.35 GB, free: 10.35 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.886, allocations: 102.2 kB / 1.35 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.8861, allocations: 5.672 kB / 1.35 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-05/0.8861, allocations: 4.75 kB / 1.35 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.8862, allocations: 8.516 kB / 1.35 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.8862, allocations: 2.344 kB / 1.35 GB, free: 10.24 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000158/0.8864, allocations: 198.8 kB / 1.35 GB, free: 10.13 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.8864, allocations: 0 / 1.35 GB, free: 10.13 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004087/0.8868, allocations: 115.7 kB / 1.35 GB, free: 10.11 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000803/0.8876, allocations: 0.8805 MB / 1.351 GB, free: 9.453 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004503/0.888, allocations: 317.4 kB / 1.351 GB, free: 9.332 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.888, allocations: 0 / 1.351 GB, free: 9.332 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.8882, allocations: 56.77 kB / 1.351 GB, free: 9.324 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.8884, allocations: 33.5 kB / 1.351 GB, free: 9.312 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.8909, allocations: 2.712 MB / 1.354 GB, free: 7.711 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.8911, allocations: 0.7349 MB / 1.355 GB, free: 7.016 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.704e-05/0.8912, allocations: 18.72 kB / 1.355 GB, free: 7.012 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.803e-05/0.8912, allocations: 55.62 kB / 1.355 GB, free: 6.969 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.8912, allocations: 1.094 kB / 1.355 GB, free: 6.969 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.9152, allocations: 5.88 MB / 1.36 GB, free: 6.293 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.339/9.254, allocations: 19.31 kB / 1.36 GB, free: 6.281 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.462905189022422] Failed to read output from testmodel.py, exit status != 0: 9.377146899991203 9.388631995 8.507321765 Calling exit ...