Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SpaceCooling.System1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SpaceCooling_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.003618/0.003618, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001051/0.001051, allocations: 197.8 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.202/1.202, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.318/2.318, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 63.89 kB / 1.065 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5869/0.5886, allocations: 159.1 MB / 1.22 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1549/0.7435, allocations: 162.4 MB / 1.379 GB, free: 15.05 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.003562/0.7471, allocations: 2.914 MB / 1.382 GB, free: 12.14 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.7473, allocations: 19.88 kB / 1.382 GB, free: 12.12 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005192/0.7479, allocations: 202.8 kB / 1.382 GB, free: 11.92 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.7492, allocations: 0.7777 MB / 1.383 GB, free: 11.14 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005881/0.7498, allocations: 345.1 kB / 1.383 GB, free: 10.8 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0009755/0.7508, allocations: 0.9389 MB / 1.384 GB, free: 9.859 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003048/0.7511, allocations: 259.2 kB / 1.384 GB, free: 9.605 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004109/0.7515, allocations: 338.6 kB / 1.384 GB, free: 9.273 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006933/0.7522, allocations: 286.9 kB / 1.385 GB, free: 8.992 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 5.269e-05/0.7523, allocations: 32 kB / 1.385 GB, free: 8.961 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009081/0.7532, allocations: 0.643 MB / 1.385 GB, free: 8.316 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.7533, allocations: 127.7 kB / 1.385 GB, free: 8.191 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.7535, allocations: 219 kB / 1.386 GB, free: 7.977 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0008879/0.7544, allocations: 0.7579 MB / 1.386 GB, free: 7.219 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.7545, allocations: 3.938 kB / 1.386 GB, free: 7.215 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7545, allocations: 0 / 1.386 GB, free: 7.215 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.7545, allocations: 0 / 1.386 GB, free: 7.215 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009722/0.7554, allocations: 0.7316 MB / 1.387 GB, free: 6.434 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.7555, allocations: 8.031 kB / 1.387 GB, free: 6.426 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.286e-05/0.7556, allocations: 62.55 kB / 1.387 GB, free: 6.355 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008649/0.7564, allocations: 131.6 kB / 1.387 GB, free: 6.227 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000532/0.757, allocations: 422.6 kB / 1.388 GB, free: 5.773 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.757, allocations: 16.56 kB / 1.388 GB, free: 5.758 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.677e-05/0.757, allocations: 35.94 kB / 1.388 GB, free: 5.723 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004036/0.7574, allocations: 275.7 kB / 1.388 GB, free: 5.445 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.7575, allocations: 0 / 1.388 GB, free: 5.445 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.7575, allocations: 12 kB / 1.388 GB, free: 5.434 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.7575, allocations: 8.562 kB / 1.388 GB, free: 5.422 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.7578, allocations: 202.1 kB / 1.388 GB, free: 5.227 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.001529/0.7594, allocations: 1.316 MB / 1.389 GB, free: 3.77 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.7597, allocations: 193.5 kB / 1.39 GB, free: 3.574 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.7599, allocations: 92.81 kB / 1.39 GB, free: 3.48 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.7599, allocations: 3.938 kB / 1.39 GB, free: 3.477 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.7599, allocations: 42.48 kB / 1.39 GB, free: 3.426 MB / 1.107 GB Notification: Performance of pre-optimization done (n=19): time 1.142e-06/0.7599, allocations: 0 / 1.39 GB, free: 3.426 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.0008244/0.7608, allocations: 402 kB / 1.39 GB, free: 3.008 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.7608, allocations: 55.41 kB / 1.39 GB, free: 2.941 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.7611, allocations: 304.5 kB / 1.391 GB, free: 2.633 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.7611, allocations: 25.7 kB / 1.391 GB, free: 2.602 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.7613, allocations: 204.2 kB / 1.391 GB, free: 2.398 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.973e-05/0.7613, allocations: 67.44 kB / 1.391 GB, free: 2.332 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.908e-05/0.7614, allocations: 49.66 kB / 1.391 GB, free: 2.277 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.7615, allocations: 334.8 kB / 1.391 GB, free: 1.941 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.7617, allocations: 63.97 kB / 1.391 GB, free: 1.879 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.7618, allocations: 125.9 kB / 1.391 GB, free: 1.734 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.7621, allocations: 195.8 kB / 1.392 GB, free: 1.523 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7621, allocations: 4 kB / 1.392 GB, free: 1.52 MB / 1.107 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003335/0.7624, allocations: 253.2 kB / 1.392 GB, free: 1.266 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.7624, allocations: 6.031 kB / 1.392 GB, free: 1.262 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.7624, allocations: 4 kB / 1.392 GB, free: 1.258 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.7624, allocations: 0 / 1.392 GB, free: 1.258 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.7626, allocations: 43.92 kB / 1.392 GB, free: 1.215 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.7626, allocations: 4 kB / 1.392 GB, free: 1.211 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.7629, allocations: 19.83 kB / 1.392 GB, free: 1.191 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.7629, allocations: 16.19 kB / 1.392 GB, free: 1.176 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * 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 prepare postOptimizeDAE: time 0.0001388/0.763, allocations: 161.7 kB / 1.392 GB, free: 1.008 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.313e-05/0.7631, allocations: 35.75 kB / 1.392 GB, free: 0.9727 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.418e-05/0.7632, allocations: 35.08 kB / 1.392 GB, free: 0.9336 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.7632, allocations: 0 / 1.392 GB, free: 0.9336 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.7632, allocations: 4 kB / 1.392 GB, free: 0.9297 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.7632, allocations: 7.984 kB / 1.392 GB, free: 0.9219 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004553/0.7637, allocations: 401.3 kB / 1.392 GB, free: 492 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7637, allocations: 0 / 1.392 GB, free: 492 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.7638, allocations: 35.92 kB / 1.393 GB, free: 456 kB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001764/0.764, allocations: 48.77 kB / 1.393 GB, free: 404 kB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.764, allocations: 4 kB / 1.393 GB, free: 400 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/0.7652, allocations: 1.516 MB / 1.394 GB, free: 14.74 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.7652, allocations: 0 / 1.394 GB, free: 14.74 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000521/0.7658, allocations: 402.6 kB / 1.394 GB, free: 14.33 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.7659, allocations: 128.9 kB / 1.395 GB, free: 14.18 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.7659, allocations: 7.938 kB / 1.395 GB, free: 14.18 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.7662, allocations: 11.98 kB / 1.395 GB, free: 14.16 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.7662, allocations: 7.984 kB / 1.395 GB, free: 14.16 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.7662, allocations: 8 kB / 1.395 GB, free: 14.15 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002015/0.7664, allocations: 219 kB / 1.395 GB, free: 13.93 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/0.7664, allocations: 0 / 1.395 GB, free: 13.93 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003378/0.7668, allocations: 107.8 kB / 1.395 GB, free: 13.83 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.U,vol.dynBal.m) * 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 (17): * Single equations (assignments): 16 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000812/0.7676, allocations: 0.953 MB / 1.396 GB, free: 12.85 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0002558/0.7679, allocations: 155.8 kB / 1.396 GB, free: 12.7 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.7679, allocations: 0 / 1.396 GB, free: 12.7 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.7681, allocations: 199.8 kB / 1.396 GB, free: 12.49 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008482/0.769, allocations: 196.7 kB / 1.396 GB, free: 12.3 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/0.772, allocations: 2.944 MB / 1.399 GB, free: 9.246 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.7724, allocations: 0.7958 MB / 1.4 GB, free: 8.422 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001816/0.7726, allocations: 59.25 kB / 1.4 GB, free: 8.363 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.7727, allocations: 111.4 kB / 1.4 GB, free: 8.254 MB / 1.123 GB Notification: Performance of SimCode: time 2.3e-07/0.7728, allocations: 0 / 1.4 GB, free: 8.254 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 11.16/11.94, allocations: 8.987 MB / 1.409 GB, free: 15.49 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.08/27.02, allocations: 6.562 kB / 1.409 GB, free: 15.49 MB / 1.139 GB (rm -f Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)