Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_9_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.0054/0.0054, allocations: 101.3 kB / 15.73 MB, free: 6.035 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.001198/0.001198, allocations: 187.3 kB / 16.67 MB, free: 5.965 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.152/2.152, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 61.5 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2049, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1336/0.3385, allocations: 162.9 MB / 1.247 GB, free: 14.46 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004228/0.3428, allocations: 3.479 MB / 1.25 GB, free: 10.96 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002495/0.3431, allocations: 19.94 kB / 1.25 GB, free: 10.95 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006255/0.3437, allocations: 278.4 kB / 1.25 GB, free: 10.67 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.3452, allocations: 0.8633 MB / 1.251 GB, free: 9.805 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007973/0.346, allocations: 470.3 kB / 1.252 GB, free: 9.348 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0009249/0.3469, allocations: 1.099 MB / 1.253 GB, free: 8.242 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000339/0.3472, allocations: 320.7 kB / 1.253 GB, free: 7.93 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005151/0.3478, allocations: 406.4 kB / 1.253 GB, free: 7.531 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008554/0.3486, allocations: 355.6 kB / 1.254 GB, free: 7.188 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.363e-05/0.3487, allocations: 40 kB / 1.254 GB, free: 7.148 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.3499, allocations: 0.7015 MB / 1.254 GB, free: 6.445 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.3501, allocations: 159.5 kB / 1.254 GB, free: 6.289 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002559/0.3504, allocations: 270.7 kB / 1.255 GB, free: 6.023 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.3515, allocations: 0.9433 MB / 1.256 GB, free: 5.078 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3516, allocations: 0 / 1.256 GB, free: 5.078 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3516, allocations: 0 / 1.256 GB, free: 5.078 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.3516, allocations: 0 / 1.256 GB, free: 5.078 MB / 1.014 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.001272/0.3529, allocations: 0.8719 MB / 1.257 GB, free: 4.152 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.3529, allocations: 8.031 kB / 1.257 GB, free: 4.145 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.676e-05/0.353, allocations: 58.55 kB / 1.257 GB, free: 4.078 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009633/0.354, allocations: 155.2 kB / 1.257 GB, free: 3.926 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006611/0.3546, allocations: 0.5008 MB / 1.257 GB, free: 3.383 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.3547, allocations: 20.56 kB / 1.257 GB, free: 3.363 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.313e-05/0.3547, allocations: 31.98 kB / 1.257 GB, free: 3.332 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004808/0.3552, allocations: 323.6 kB / 1.258 GB, free: 3.004 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3552, allocations: 0 / 1.258 GB, free: 3.004 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.3553, allocations: 15.98 kB / 1.258 GB, free: 2.988 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.3553, allocations: 12.56 kB / 1.258 GB, free: 2.977 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003595/0.3557, allocations: 230 kB / 1.258 GB, free: 2.75 MB / 1.014 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.0016/0.3573, allocations: 1.399 MB / 1.259 GB, free: 1.219 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.3576, allocations: 221.7 kB / 1.259 GB, free: 1 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.3578, allocations: 112.8 kB / 1.26 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.3578, allocations: 4 kB / 1.26 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002496/0.3581, allocations: 159.2 kB / 1.26 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of pre-optimization done (n=26): time 1.523e-06/0.3581, allocations: 0 / 1.26 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.4121/0.7702, allocations: 1.092 MB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.7702, allocations: 62.06 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005279/0.7708, allocations: 461 kB / 1.261 GB, free: 175.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.7708, allocations: 34.47 kB / 1.261 GB, free: 175.8 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.7709, allocations: 235.9 kB / 1.261 GB, free: 175.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.377e-05/0.771, allocations: 103.6 kB / 1.262 GB, free: 175.6 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.7712, allocations: 77.06 kB / 1.262 GB, free: 175.6 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 7.702e-05/0.7712, allocations: 355.9 kB / 1.262 GB, free: 175.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.7715, allocations: 127.7 kB / 1.262 GB, free: 175.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.7717, allocations: 185.9 kB / 1.262 GB, free: 175.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/0.7722, allocations: 309.2 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.7722, allocations: 0 / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009164/0.7731, allocations: 496.5 kB / 1.263 GB, free: 175.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.7731, allocations: 6.25 kB / 1.263 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7731, allocations: 1.812 kB / 1.263 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003366/0.7735, allocations: 84.81 kB / 1.263 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.7738, allocations: 62.56 kB / 1.263 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.7751, allocations: 1.916 MB / 1.265 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.7754, allocations: 13.5 kB / 1.265 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.7754, allocations: 11.19 kB / 1.265 GB, free: 173.4 MB / 1.014 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.0001761/0.7756, allocations: 192 kB / 1.265 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/0.7757, allocations: 50.78 kB / 1.265 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.92e-05/0.7758, allocations: 55.83 kB / 1.265 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.7758, allocations: 2.719 kB / 1.265 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7758, allocations: 1.469 kB / 1.265 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.7758, allocations: 3.719 kB / 1.265 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.7772, allocations: 0.9741 MB / 1.266 GB, free: 172.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.7773, allocations: 3.969 kB / 1.266 GB, free: 172.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003468/0.7776, allocations: 62.66 kB / 1.266 GB, free: 172.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002835/0.7779, allocations: 77.38 kB / 1.266 GB, free: 172.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.7779, allocations: 10.14 kB / 1.267 GB, free: 172.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.779, allocations: 1.656 MB / 1.268 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.779, allocations: 0.75 kB / 1.268 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009122/0.7799, allocations: 0.5674 MB / 1.269 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.7801, allocations: 148.6 kB / 1.269 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.453e-05/0.7801, allocations: 11.69 kB / 1.269 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.7804, allocations: 10.61 kB / 1.269 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.7805, allocations: 16.38 kB / 1.269 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.7805, allocations: 17.95 kB / 1.269 GB, free: 170.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003192/0.7809, allocations: 313.1 kB / 1.269 GB, free: 170.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7809, allocations: 0 / 1.269 GB, free: 170.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005002/0.7814, allocations: 124.7 kB / 1.269 GB, free: 170.4 MB / 1.014 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.001892/0.7833, allocations: 1.434 MB / 1.271 GB, free: 169.5 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006428/0.7839, allocations: 428.9 kB / 1.271 GB, free: 169.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7839, allocations: 0 / 1.271 GB, free: 169.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002575/0.7842, allocations: 252.6 kB / 1.271 GB, free: 169.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.7852, allocations: 248.5 kB / 1.272 GB, free: 169 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005228/0.7905, allocations: 4.117 MB / 1.276 GB, free: 166.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.7908, allocations: 0.8494 MB / 1.276 GB, free: 165.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003125/0.7912, allocations: 89.89 kB / 1.277 GB, free: 165.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.7914, allocations: 153.1 kB / 1.277 GB, free: 165.8 MB / 1.014 GB Notification: Performance of SimCode: time 5.61e-07/0.7914, allocations: 0.625 kB / 1.277 GB, free: 165.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.1/4.891, allocations: 12.89 MB / 1.289 GB, free: 163.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/18.38, allocations: 7.672 kB / 1.289 GB, free: 163.8 MB / 1.014 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)