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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00467/0.00467, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001181/0.001181, allocations: 202.5 kB / 16.68 MB, free: 5.969 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.811/2.811, allocations: 482.6 MB / 0.755 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 71.89 kB / 1.083 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2863, allocations: 162.3 MB / 1.242 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.6739/0.9603, allocations: 162.9 MB / 1.401 GB, free: 11.8 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.004785/0.9651, allocations: 3.488 MB / 1.404 GB, free: 8.988 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.9654, allocations: 23.69 kB / 1.404 GB, free: 8.977 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006857/0.9661, allocations: 275 kB / 1.405 GB, free: 8.766 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.9678, allocations: 0.8535 MB / 1.405 GB, free: 8.102 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009456/0.9688, allocations: 482.1 kB / 1.406 GB, free: 7.738 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001213/0.97, allocations: 1.096 MB / 1.407 GB, free: 7.098 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003934/0.9704, allocations: 329 kB / 1.407 GB, free: 6.875 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005881/0.971, allocations: 432.9 kB / 1.408 GB, free: 6.625 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008221/0.9718, allocations: 351.1 kB / 1.408 GB, free: 6.418 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 6.787e-05/0.9719, allocations: 43.41 kB / 1.408 GB, free: 6.414 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.9731, allocations: 0.6967 MB / 1.409 GB, free: 6.039 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.9733, allocations: 165.6 kB / 1.409 GB, free: 5.926 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002809/0.9736, allocations: 268.3 kB / 1.409 GB, free: 5.75 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.9748, allocations: 0.9431 MB / 1.41 GB, free: 5.133 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.9748, allocations: 1.375 kB / 1.41 GB, free: 5.133 MB / 1.107 GB Notification: Performance of FrontEnd: time 4.087e-06/0.9748, allocations: 0 / 1.41 GB, free: 5.133 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.9748, allocations: 3.938 kB / 1.41 GB, free: 5.129 MB / 1.107 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.001316/0.9762, allocations: 0.8885 MB / 1.411 GB, free: 4.375 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.9762, allocations: 10.06 kB / 1.411 GB, free: 4.375 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.591e-05/0.9763, allocations: 63.62 kB / 1.411 GB, free: 4.312 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000968/0.9772, allocations: 149.6 kB / 1.411 GB, free: 4.246 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007423/0.978, allocations: 0.5032 MB / 1.412 GB, free: 3.82 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.978, allocations: 20.78 kB / 1.412 GB, free: 3.812 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.521e-05/0.9781, allocations: 36.31 kB / 1.412 GB, free: 3.797 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.9787, allocations: 317.2 kB / 1.412 GB, free: 3.598 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.9787, allocations: 1.188 kB / 1.412 GB, free: 3.598 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.9787, allocations: 10.66 kB / 1.412 GB, free: 3.59 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.9787, allocations: 10.34 kB / 1.412 GB, free: 3.59 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004103/0.9792, allocations: 224.5 kB / 1.412 GB, free: 3.48 MB / 1.107 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.002047/0.9812, allocations: 1.528 MB / 1.414 GB, free: 2.062 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.9816, allocations: 219.3 kB / 1.414 GB, free: 1.941 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.9818, allocations: 106.1 kB / 1.414 GB, free: 1.887 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 4.149e-05/0.9819, allocations: 10.66 kB / 1.414 GB, free: 1.879 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002862/0.9821, allocations: 169 kB / 1.414 GB, free: 1.758 MB / 1.107 GB Notification: Performance of pre-optimization done (n=26): time 1.654e-06/0.9822, allocations: 3.938 kB / 1.414 GB, free: 1.754 MB / 1.107 GB Notification: Performance of matching and sorting (n=29): time 0.002739/0.9849, allocations: 1.095 MB / 1.415 GB, free: 1.023 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.985, allocations: 64.12 kB / 1.415 GB, free: 0.9531 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005196/0.9855, allocations: 456.3 kB / 1.416 GB, free: 0.6914 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.9855, allocations: 31.95 kB / 1.416 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.9857, allocations: 245.3 kB / 1.416 GB, free: 448 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.041e-05/0.9858, allocations: 100.1 kB / 1.416 GB, free: 360 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.986, allocations: 80.61 kB / 1.416 GB, free: 304 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.9862, allocations: 357.1 kB / 1.417 GB, free: 15.95 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.9864, allocations: 124.7 kB / 1.417 GB, free: 15.89 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.9867, allocations: 185.8 kB / 1.417 GB, free: 15.77 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004565/0.9871, allocations: 312.1 kB / 1.417 GB, free: 15.57 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.9871, allocations: 0 / 1.417 GB, free: 15.57 MB / 1.123 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009578/0.9881, allocations: 493.6 kB / 1.418 GB, free: 15.31 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.9881, allocations: 5.25 kB / 1.418 GB, free: 15.31 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.9881, allocations: 2.344 kB / 1.418 GB, free: 15.31 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003311/0.9885, allocations: 81.36 kB / 1.418 GB, free: 15.27 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.9888, allocations: 66.44 kB / 1.418 GB, free: 15.25 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/0.9906, allocations: 1.914 MB / 1.42 GB, free: 13.43 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/0.9909, allocations: 16.06 kB / 1.42 GB, free: 13.41 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.991, allocations: 11 kB / 1.42 GB, free: 13.41 MB / 1.123 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.0002095/0.9912, allocations: 194.5 kB / 1.42 GB, free: 13.25 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.03e-05/0.9913, allocations: 49.66 kB / 1.42 GB, free: 13.22 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.9914, allocations: 50.38 kB / 1.42 GB, free: 13.18 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.9914, allocations: 2.75 kB / 1.42 GB, free: 13.18 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.9914, allocations: 9.422 kB / 1.42 GB, free: 13.18 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.9914, allocations: 0 / 1.42 GB, free: 13.18 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.9929, allocations: 0.9761 MB / 1.421 GB, free: 12.43 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.9929, allocations: 7.922 kB / 1.421 GB, free: 12.42 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003418/0.9933, allocations: 65.92 kB / 1.421 GB, free: 12.41 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002858/0.9936, allocations: 78.64 kB / 1.421 GB, free: 12.36 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.9936, allocations: 15.2 kB / 1.421 GB, free: 12.35 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.9951, allocations: 1.641 MB / 1.423 GB, free: 10.75 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.9951, allocations: 3.984 kB / 1.423 GB, free: 10.75 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.9961, allocations: 0.571 MB / 1.423 GB, free: 10.37 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.9963, allocations: 153.5 kB / 1.423 GB, free: 10.22 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.118e-05/0.9964, allocations: 10.84 kB / 1.423 GB, free: 10.21 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/0.9967, allocations: 14.25 kB / 1.423 GB, free: 10.21 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.9968, allocations: 20.81 kB / 1.423 GB, free: 10.2 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.9968, allocations: 14.61 kB / 1.423 GB, free: 10.19 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0003335/0.9971, allocations: 310.4 kB / 1.424 GB, free: 10 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9972, allocations: 0 / 1.424 GB, free: 10 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004569/0.9976, allocations: 125.2 kB / 1.424 GB, free: 9.984 MB / 1.123 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.002645/1, allocations: 1.444 MB / 1.425 GB, free: 8.961 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0006377/1.001, allocations: 429.4 kB / 1.426 GB, free: 8.695 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.001, allocations: 6.5 kB / 1.426 GB, free: 8.691 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002886/1.001, allocations: 242.6 kB / 1.426 GB, free: 8.516 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/1.002, allocations: 248.8 kB / 1.426 GB, free: 8.391 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005513/1.008, allocations: 4.129 MB / 1.43 GB, free: 5.594 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/1.008, allocations: 0.8605 MB / 1.431 GB, free: 4.746 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002936/1.009, allocations: 80.33 kB / 1.431 GB, free: 4.668 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/1.009, allocations: 151.4 kB / 1.431 GB, free: 4.52 MB / 1.123 GB Notification: Performance of SimCode: time 3.41e-07/1.009, allocations: 0 / 1.431 GB, free: 4.52 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4103/1.419, allocations: 12.89 MB / 1.444 GB, free: 7.836 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/12.23, allocations: 15.53 kB / 1.444 GB, free: 7.824 MB / 1.139 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=400 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)