Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.SpaceCooling.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_9_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.001022/0.001022, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001038/0.001037, allocations: 196.3 kB / 16.14 MB, free: 6.691 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.224/1.224, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.045/2.045, allocations: 390.2 MB / 0.6643 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 59.91 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4611/0.4623, allocations: 140.4 MB / 0.949 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1341/0.5964, allocations: 160.2 MB / 1.105 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003593/0.6, allocations: 2.948 MB / 1.108 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003378/0.6004, allocations: 15.88 kB / 1.108 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005413/0.601, allocations: 179.1 kB / 1.109 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.6024, allocations: 0.7236 MB / 1.109 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005978/0.603, allocations: 310.7 kB / 1.11 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001102/0.6041, allocations: 1.235 MB / 1.111 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.6044, allocations: 218.1 kB / 1.111 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004157/0.6048, allocations: 290.7 kB / 1.111 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006898/0.6055, allocations: 288.4 kB / 1.111 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.083e-05/0.6056, allocations: 16 kB / 1.111 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009974/0.6066, allocations: 0.7558 MB / 1.112 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.6067, allocations: 107.7 kB / 1.112 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.6069, allocations: 191 kB / 1.113 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0008023/0.6077, allocations: 0.7673 MB / 1.113 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6077, allocations: 4 kB / 1.113 GB, free: 9.344 MB / 0.8731 GB Notification: Performance of FrontEnd: time 7.11e-07/0.6077, allocations: 4 kB / 1.113 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.6078, allocations: 0 / 1.113 GB, free: 9.34 MB / 0.8731 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.0009759/0.6087, allocations: 0.7204 MB / 1.114 GB, free: 8.57 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.6088, allocations: 8.031 kB / 1.114 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.793e-05/0.6088, allocations: 54.55 kB / 1.114 GB, free: 8.5 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009157/0.6098, allocations: 143.3 kB / 1.114 GB, free: 8.359 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004858/0.6103, allocations: 402.4 kB / 1.115 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.6103, allocations: 16.56 kB / 1.115 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.6103, allocations: 27.91 kB / 1.115 GB, free: 7.883 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003923/0.6107, allocations: 275.7 kB / 1.115 GB, free: 7.602 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.6107, allocations: 0 / 1.115 GB, free: 7.602 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.6108, allocations: 12 kB / 1.115 GB, free: 7.59 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.6108, allocations: 16.55 kB / 1.115 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.6111, allocations: 198.1 kB / 1.115 GB, free: 7.379 MB / 0.8731 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.001442/0.6126, allocations: 1.315 MB / 1.116 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.6129, allocations: 190.9 kB / 1.117 GB, free: 5.73 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.613, allocations: 88.83 kB / 1.117 GB, free: 5.641 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.6131, allocations: 11.88 kB / 1.117 GB, free: 5.629 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.6131, allocations: 38.55 kB / 1.117 GB, free: 5.582 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.262e-06/0.6131, allocations: 4 kB / 1.117 GB, free: 5.578 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.0008258/0.6139, allocations: 401.6 kB / 1.117 GB, free: 5.16 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.614, allocations: 55.34 kB / 1.117 GB, free: 5.094 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.6142, allocations: 304.6 kB / 1.117 GB, free: 4.785 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.6143, allocations: 29.7 kB / 1.117 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.6144, allocations: 196 kB / 1.118 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.282e-05/0.6144, allocations: 70.95 kB / 1.118 GB, free: 4.484 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.088e-05/0.6145, allocations: 41.7 kB / 1.118 GB, free: 4.438 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.607e-05/0.6146, allocations: 342.8 kB / 1.118 GB, free: 4.094 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.6147, allocations: 59.97 kB / 1.118 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.6148, allocations: 127.9 kB / 1.118 GB, free: 3.891 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.6151, allocations: 199.5 kB / 1.118 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6151, allocations: 0 / 1.118 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003236/0.6154, allocations: 247.1 kB / 1.119 GB, free: 3.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.6154, allocations: 4 kB / 1.119 GB, free: 3.426 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.6154, allocations: 4 kB / 1.119 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.6155, allocations: 0 / 1.119 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.6156, allocations: 47.92 kB / 1.119 GB, free: 3.375 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.6156, allocations: 8.188 kB / 1.119 GB, free: 3.367 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.6159, allocations: 23.83 kB / 1.119 GB, free: 3.344 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.6159, allocations: 8 kB / 1.119 GB, free: 3.336 MB / 0.8731 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.0001291/0.6161, allocations: 157.8 kB / 1.119 GB, free: 3.172 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.6161, allocations: 35.56 kB / 1.119 GB, free: 3.137 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.4e-05/0.6162, allocations: 39.08 kB / 1.119 GB, free: 3.102 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.6162, allocations: 7.938 kB / 1.119 GB, free: 3.094 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.6162, allocations: 4 kB / 1.119 GB, free: 3.09 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.6162, allocations: 0 / 1.119 GB, free: 3.09 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004436/0.6167, allocations: 409.2 kB / 1.119 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6167, allocations: 0 / 1.119 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.6169, allocations: 31.92 kB / 1.119 GB, free: 2.609 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001797/0.617, allocations: 44.77 kB / 1.119 GB, free: 2.562 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.6171, allocations: 4 kB / 1.119 GB, free: 2.559 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009849/0.6181, allocations: 1.401 MB / 1.121 GB, free: 1.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6181, allocations: 0 / 1.121 GB, free: 1.02 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004899/0.6186, allocations: 399.9 kB / 1.121 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.6187, allocations: 132.8 kB / 1.121 GB, free: 472 kB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.6187, allocations: 0 / 1.121 GB, free: 472 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/0.619, allocations: 23.89 kB / 1.121 GB, free: 448 kB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.619, allocations: 15.88 kB / 1.121 GB, free: 432 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.6191, allocations: 8 kB / 1.121 GB, free: 424 kB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001906/0.6193, allocations: 230.9 kB / 1.122 GB, free: 192 kB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6193, allocations: 0 / 1.122 GB, free: 192 kB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003611/0.6196, allocations: 99.84 kB / 1.122 GB, free: 92 kB / 0.8731 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.0007495/0.6204, allocations: 0.9499 MB / 1.123 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.000258/0.6207, allocations: 165.8 kB / 1.123 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6207, allocations: 384 / 1.123 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.6209, allocations: 198.6 kB / 1.123 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008464/0.6218, allocations: 184.2 kB / 1.123 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.6249, allocations: 3.045 MB / 1.126 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.6252, allocations: 0.7882 MB / 1.127 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002395/0.6254, allocations: 75.2 kB / 1.127 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.6255, allocations: 107.4 kB / 1.127 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of SimCode: time 2.9e-07/0.6256, allocations: 0 / 1.127 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4282/1.054, allocations: 8.516 MB / 1.135 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/1.054, allocations: 222.8 kB / 1.136 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.811, allocations: 0 / 1.136 GB, free: 1.867 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)