Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.SpaceCooling.System1,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_10_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.001885/0.001885, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002211/0.002211, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.453/2.453, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 67.91 kB / 0.8693 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.474/0.4758, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1509/0.6267, allocations: 162.4 MB / 1.176 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004019/0.6308, allocations: 2.907 MB / 1.179 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004034/0.6312, allocations: 19.88 kB / 1.179 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006028/0.6319, allocations: 206.8 kB / 1.179 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.6336, allocations: 0.7778 MB / 1.18 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006775/0.6342, allocations: 331.2 kB / 1.18 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001051/0.6353, allocations: 0.9468 MB / 1.181 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003416/0.6357, allocations: 250.3 kB / 1.181 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004953/0.6362, allocations: 338.5 kB / 1.182 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007152/0.6369, allocations: 290.7 kB / 1.182 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.496e-05/0.637, allocations: 32 kB / 1.182 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.638, allocations: 0.6469 MB / 1.183 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.6382, allocations: 127.7 kB / 1.183 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.6384, allocations: 211 kB / 1.183 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008935/0.6393, allocations: 0.7401 MB / 1.184 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.6393, allocations: 0 / 1.184 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6393, allocations: 4 kB / 1.184 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.6393, allocations: 0 / 1.184 GB, free: 7.672 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009424/0.6403, allocations: 0.7088 MB / 1.184 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.6403, allocations: 8.031 kB / 1.184 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.076e-05/0.6404, allocations: 58.55 kB / 1.184 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009913/0.6414, allocations: 143.3 kB / 1.184 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005001/0.6419, allocations: 406.3 kB / 1.185 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.6419, allocations: 16.56 kB / 1.185 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/0.642, allocations: 27.94 kB / 1.185 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000422/0.6424, allocations: 275.7 kB / 1.185 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.6424, allocations: 3.938 kB / 1.185 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.6424, allocations: 12 kB / 1.185 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.6425, allocations: 8.562 kB / 1.185 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.6428, allocations: 202.1 kB / 1.185 GB, free: 5.715 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.001573/0.6444, allocations: 1.33 MB / 1.187 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.6447, allocations: 190.9 kB / 1.187 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.6449, allocations: 88.83 kB / 1.187 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.6449, allocations: 0 / 1.187 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.6449, allocations: 34.56 kB / 1.187 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 1.042e-06/0.6449, allocations: 4 kB / 1.187 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.0008956/0.6458, allocations: 401 kB / 1.187 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.6459, allocations: 63.33 kB / 1.187 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/0.6462, allocations: 304.6 kB / 1.188 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.6462, allocations: 25.7 kB / 1.188 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.6464, allocations: 192 kB / 1.188 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.455e-05/0.6464, allocations: 74.94 kB / 1.188 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/0.6465, allocations: 41.72 kB / 1.188 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.6466, allocations: 338.8 kB / 1.188 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.6467, allocations: 63.97 kB / 1.188 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.6469, allocations: 123.4 kB / 1.189 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.6471, allocations: 195.6 kB / 1.189 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6471, allocations: 4 kB / 1.189 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003698/0.6475, allocations: 251.3 kB / 1.189 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.6475, allocations: 4 kB / 1.189 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.6475, allocations: 0 / 1.189 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.6476, allocations: 4 kB / 1.189 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.6477, allocations: 47.86 kB / 1.189 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.6478, allocations: 12.17 kB / 1.189 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.648, allocations: 19.78 kB / 1.189 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.6481, allocations: 8 kB / 1.189 GB, free: 1.664 MB / 0.9356 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.000136/0.6482, allocations: 157.8 kB / 1.189 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.211e-05/0.6483, allocations: 35.56 kB / 1.189 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.588e-05/0.6484, allocations: 35.08 kB / 1.189 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.6484, allocations: 0 / 1.189 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6484, allocations: 0 / 1.189 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.6484, allocations: 0 / 1.189 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004718/0.6489, allocations: 417.2 kB / 1.19 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.6489, allocations: 3.938 kB / 1.19 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.6491, allocations: 35.92 kB / 1.19 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001868/0.6493, allocations: 44.83 kB / 1.19 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.6493, allocations: 4 kB / 1.19 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/0.6504, allocations: 1.519 MB / 1.191 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6505, allocations: 0 / 1.191 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000526/0.651, allocations: 401 kB / 1.192 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.6511, allocations: 128.8 kB / 1.192 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.6512, allocations: 7.938 kB / 1.192 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.6514, allocations: 13.55 kB / 1.192 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.6515, allocations: 7.984 kB / 1.192 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.6515, allocations: 11.98 kB / 1.192 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002024/0.6517, allocations: 219.1 kB / 1.192 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6517, allocations: 0 / 1.192 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003768/0.6521, allocations: 107.8 kB / 1.192 GB, free: 14.32 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.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.0008352/0.6529, allocations: 0.9471 MB / 1.193 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002956/0.6532, allocations: 182.7 kB / 1.193 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6533, allocations: 384 / 1.193 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000271/0.6535, allocations: 198.6 kB / 1.193 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009266/0.6545, allocations: 202.7 kB / 1.194 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.6577, allocations: 2.942 MB / 1.196 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.6581, allocations: 0.7918 MB / 1.197 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002451/0.6583, allocations: 59.25 kB / 1.197 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.6585, allocations: 111.4 kB / 1.197 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of SimCode: time 2.61e-07/0.6585, allocations: 0 / 1.197 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3853/1.044, allocations: 8.884 MB / 1.206 GB, free: 48 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.58, allocations: 8.359 kB / 1.206 GB, free: 44 kB / 0.9512 GB (rm -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)