Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_10_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.0009259/0.0009259, 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.005607/0.005607, 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.318/1.318, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.491/2.491, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003108, allocations: 8 kB / 0.8729 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5691/0.5695, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1567/0.7262, allocations: 158.6 MB / 1.178 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005541/0.7318, allocations: 3.48 MB / 1.181 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005778/0.7324, allocations: 11.94 kB / 1.181 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008044/0.7332, allocations: 242.9 kB / 1.182 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.7352, allocations: 0.7976 MB / 1.182 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.7362, allocations: 426.8 kB / 1.183 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001498/0.7377, allocations: 1.372 MB / 1.184 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004126/0.7382, allocations: 280 kB / 1.184 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006103/0.7388, allocations: 338.4 kB / 1.185 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008389/0.7396, allocations: 335 kB / 1.185 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.198e-05/0.7397, allocations: 16 kB / 1.185 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.741, allocations: 0.7949 MB / 1.186 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.7411, allocations: 143.5 kB / 1.186 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002896/0.7414, allocations: 260.4 kB / 1.186 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.7428, allocations: 0.9306 MB / 1.187 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.7428, allocations: 4 kB / 1.187 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7428, allocations: 0 / 1.187 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.437e-05/0.7429, allocations: 4 kB / 1.187 GB, free: 7.262 MB / 0.9356 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.001276/0.7441, allocations: 0.7747 MB / 1.188 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.7442, allocations: 8.031 kB / 1.188 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.758e-05/0.7443, allocations: 70.47 kB / 1.188 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.7453, allocations: 159.1 kB / 1.188 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006971/0.746, allocations: 496.8 kB / 1.189 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.7461, allocations: 20.56 kB / 1.189 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.936e-05/0.7461, allocations: 32 kB / 1.189 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005422/0.7467, allocations: 319.6 kB / 1.189 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.7467, allocations: 4 kB / 1.189 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.7468, allocations: 8 kB / 1.189 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.7468, allocations: 12.56 kB / 1.189 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004039/0.7472, allocations: 226 kB / 1.189 GB, free: 5.051 MB / 0.9356 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.001831/0.749, allocations: 1.418 MB / 1.191 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003749/0.7494, allocations: 218.8 kB / 1.191 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.7496, allocations: 108.8 kB / 1.191 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.7497, allocations: 3.984 kB / 1.191 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002816/0.7499, allocations: 168.8 kB / 1.191 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 1.734e-06/0.75, allocations: 4 kB / 1.191 GB, free: 2.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29): time 0.002741/0.7527, allocations: 1.088 MB / 1.192 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.7527, allocations: 59.34 kB / 1.192 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005002/0.7533, allocations: 457.8 kB / 1.193 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.7533, allocations: 33.7 kB / 1.193 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.7535, allocations: 240.3 kB / 1.193 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.833e-05/0.7536, allocations: 102.5 kB / 1.193 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.7536, allocations: 41.7 kB / 1.193 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.7538, allocations: 358.7 kB / 1.193 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.754, allocations: 128.7 kB / 1.193 GB, free: 404 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.7542, allocations: 178.9 kB / 1.194 GB, free: 208 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004748/0.7547, allocations: 307.8 kB / 1.194 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7547, allocations: 0 / 1.194 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009631/0.7557, allocations: 486.2 kB / 1.194 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.7557, allocations: 8 kB / 1.194 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.7558, allocations: 0 / 1.194 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003481/0.7561, allocations: 88.86 kB / 1.194 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.7564, allocations: 67.91 kB / 1.195 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/0.7582, allocations: 1.756 MB / 1.196 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.7585, allocations: 27.83 kB / 1.196 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.041e-05/0.7586, allocations: 16 kB / 1.196 GB, free: 13.31 MB / 0.9512 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.0002366/0.7589, allocations: 192.6 kB / 1.197 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.388e-05/0.7589, allocations: 51.36 kB / 1.197 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.7591, allocations: 48.62 kB / 1.197 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.7591, allocations: 4 kB / 1.197 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.7591, allocations: 4 kB / 1.197 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.7591, allocations: 0 / 1.197 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.7607, allocations: 0.9648 MB / 1.198 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.7607, allocations: 0 / 1.198 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/0.7611, allocations: 63.91 kB / 1.198 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003171/0.7614, allocations: 76.83 kB / 1.198 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/0.7615, allocations: 15.98 kB / 1.198 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/0.7629, allocations: 1.554 MB / 1.199 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7629, allocations: 4.062 kB / 1.199 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.7639, allocations: 0.5826 MB / 1.2 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.7641, allocations: 148.5 kB / 1.2 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.151e-05/0.7642, allocations: 15.94 kB / 1.2 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000357/0.7645, allocations: 19.98 kB / 1.2 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.082e-05/0.7646, allocations: 15.97 kB / 1.2 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.7646, allocations: 12 kB / 1.2 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003327/0.765, allocations: 311.1 kB / 1.2 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.765, allocations: 0 / 1.2 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005087/0.7655, allocations: 120 kB / 1.2 GB, free: 8.887 MB / 0.9512 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.002172/0.7677, allocations: 1.44 MB / 1.202 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006885/0.7684, allocations: 418.8 kB / 1.202 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.7684, allocations: 0 / 1.202 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003038/0.7687, allocations: 251.3 kB / 1.202 GB, free: 6.895 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.7699, allocations: 231.1 kB / 1.203 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006139/0.7761, allocations: 4.412 MB / 1.207 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004679/0.7766, allocations: 0.8465 MB / 1.208 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004/0.777, allocations: 80.33 kB / 1.208 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/0.7772, allocations: 155.4 kB / 1.208 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of SimCode: time 8.12e-07/0.7772, allocations: 4 kB / 1.208 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.8028, allocations: 12.15 MB / 1.22 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/0.803, allocations: 246 kB / 1.22 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.439/3.242, allocations: 0 / 1.22 GB, free: 4.883 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)