Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007476/0.0007476, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004241/0.004241, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.546/2.546, allocations: 462.6 MB / 0.7364 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002764/0.0002764, allocations: 12 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2259, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1346/0.3606, allocations: 158.6 MB / 1.214 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004565/0.3652, allocations: 3.465 MB / 1.217 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004252/0.3656, allocations: 15.88 kB / 1.217 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006962/0.3663, allocations: 242.9 kB / 1.217 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.368, allocations: 0.7976 MB / 1.218 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000919/0.3689, allocations: 422.2 kB / 1.218 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00134/0.3703, allocations: 1.375 MB / 1.22 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003669/0.3707, allocations: 272 kB / 1.22 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005115/0.3712, allocations: 338.5 kB / 1.22 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007989/0.372, allocations: 336.9 kB / 1.221 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.358e-05/0.3721, allocations: 16 kB / 1.221 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.3732, allocations: 0.791 MB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.3734, allocations: 147.5 kB / 1.222 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002454/0.3736, allocations: 264.3 kB / 1.222 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.3747, allocations: 0.9384 MB / 1.223 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.3747, allocations: 0 / 1.223 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3747, allocations: 0 / 1.223 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.3747, allocations: 0 / 1.223 GB, free: 12.38 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001147/0.3758, allocations: 0.7747 MB / 1.224 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3759, allocations: 11.97 kB / 1.224 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.889e-05/0.376, allocations: 66.53 kB / 1.224 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009709/0.3769, allocations: 163.1 kB / 1.224 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006218/0.3776, allocations: 489 kB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.3776, allocations: 24.56 kB / 1.224 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/0.3777, allocations: 31.91 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/0.3782, allocations: 315.6 kB / 1.225 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.3782, allocations: 3.938 kB / 1.225 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.3782, allocations: 23.98 kB / 1.225 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.3783, allocations: 12.56 kB / 1.225 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.3787, allocations: 218.1 kB / 1.225 GB, free: 10.16 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.3804, allocations: 1.41 MB / 1.226 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.3807, allocations: 226.2 kB / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.3809, allocations: 112.8 kB / 1.227 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.3809, allocations: 8 kB / 1.227 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002576/0.3812, allocations: 165.6 kB / 1.227 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=26): time 2.855e-06/0.3812, allocations: 3.984 kB / 1.227 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29): time 0.00258/0.3838, allocations: 1.085 MB / 1.228 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.3838, allocations: 55.34 kB / 1.228 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000458/0.3843, allocations: 465.9 kB / 1.228 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.3843, allocations: 33.7 kB / 1.228 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.3845, allocations: 244.2 kB / 1.229 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.23e-05/0.3846, allocations: 98.58 kB / 1.229 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.3846, allocations: 41.7 kB / 1.229 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.3848, allocations: 354.8 kB / 1.229 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.385, allocations: 128.7 kB / 1.229 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.3852, allocations: 186.7 kB / 1.229 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000418/0.3856, allocations: 307.8 kB / 1.23 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3857, allocations: 0 / 1.23 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008858/0.3865, allocations: 494 kB / 1.23 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3866, allocations: 10.03 kB / 1.23 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3866, allocations: 160 / 1.23 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003231/0.3869, allocations: 80.8 kB / 1.23 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.3872, allocations: 63.91 kB / 1.23 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.3887, allocations: 1.752 MB / 1.232 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/0.3891, allocations: 24.08 kB / 1.232 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.3891, allocations: 16 kB / 1.232 GB, free: 2.418 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001925/0.3893, allocations: 188.1 kB / 1.232 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.259e-05/0.3894, allocations: 59.3 kB / 1.232 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.3895, allocations: 52.62 kB / 1.232 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3895, allocations: 4 kB / 1.232 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3895, allocations: 0 / 1.232 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3895, allocations: 8 kB / 1.232 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.3909, allocations: 0.9611 MB / 1.233 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3909, allocations: 0 / 1.233 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003333/0.3912, allocations: 63.97 kB / 1.233 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000284/0.3915, allocations: 76.83 kB / 1.233 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.3916, allocations: 11.98 kB / 1.233 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/0.3928, allocations: 1.554 MB / 1.235 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.3928, allocations: 3.984 kB / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009126/0.3937, allocations: 0.574 MB / 1.235 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.3939, allocations: 152.5 kB / 1.236 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/0.394, allocations: 8 kB / 1.236 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/0.3943, allocations: 19.98 kB / 1.236 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.3944, allocations: 19.97 kB / 1.236 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.3944, allocations: 8 kB / 1.236 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003001/0.3947, allocations: 315.1 kB / 1.236 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3947, allocations: 3.938 kB / 1.236 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004565/0.3952, allocations: 128 kB / 1.236 GB, free: 13.99 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001946/0.3971, allocations: 1.418 MB / 1.237 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005986/0.3977, allocations: 426.9 kB / 1.238 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3977, allocations: 0 / 1.238 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002741/0.398, allocations: 254.6 kB / 1.238 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.3991, allocations: 232.4 kB / 1.238 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005294/0.4044, allocations: 4.404 MB / 1.243 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.4047, allocations: 0.8543 MB / 1.243 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000288/0.405, allocations: 88.33 kB / 1.244 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.4052, allocations: 155.4 kB / 1.244 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.4053, allocations: 0 / 1.244 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.044/5.449, allocations: 12.14 MB / 1.256 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/5.45, allocations: 260.8 kB / 1.256 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/7.491, allocations: 0 / 1.256 GB, free: 188.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)