Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.542/1.542, allocations: 287.4 MB / 302.5 MB, free: 8.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 191.1 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007801/0.0007801, allocations: 102.6 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.000323, allocations: 12.92 kB / 0.8662 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1565, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.4309/0.5874, allocations: 147.5 MB / 1.123 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003148/0.5906, allocations: 2.705 MB / 1.125 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.5909, allocations: 16.5 kB / 1.125 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000437/0.5914, allocations: 142.5 kB / 1.126 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.5926, allocations: 0.5624 MB / 1.126 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005019/0.5931, allocations: 229 kB / 1.126 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0009688/0.594, allocations: 1.046 MB / 1.127 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002728/0.5943, allocations: 209.9 kB / 1.127 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003353/0.5947, allocations: 275.6 kB / 1.128 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003209/0.595, allocations: 264 kB / 1.128 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.707e-05/0.595, allocations: 10.81 kB / 1.128 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005468/0.5956, allocations: 318.6 kB / 1.128 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 9.768e-05/0.5957, allocations: 107 kB / 1.128 GB, free: 492 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.276e-05/0.5958, allocations: 99.3 kB / 1.129 GB, free: 16.44 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004185/0.5962, allocations: 0.5041 MB / 1.129 GB, free: 16.39 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5962, allocations: 5.859 kB / 1.129 GB, free: 16.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5962, allocations: 0 / 1.129 GB, free: 16.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.5963, allocations: 0 / 1.129 GB, free: 16.39 MB / 0.698 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.0007856/0.5971, allocations: 0.6375 MB / 1.13 GB, free: 15.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.5971, allocations: 12.72 kB / 1.13 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.045e-05/0.5971, allocations: 60.86 kB / 1.13 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007622/0.5979, allocations: 134.6 kB / 1.13 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/0.5984, allocations: 396.9 kB / 1.13 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.5984, allocations: 21.12 kB / 1.13 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.5984, allocations: 28.11 kB / 1.13 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.5988, allocations: 275.8 kB / 1.131 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.5988, allocations: 0 / 1.131 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.5988, allocations: 9.25 kB / 1.131 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.5988, allocations: 8.406 kB / 1.131 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002684/0.5991, allocations: 195.8 kB / 1.131 GB, free: 15.52 MB / 0.698 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.001334/0.6005, allocations: 1.325 MB / 1.132 GB, free: 14.67 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.6008, allocations: 193.6 kB / 1.132 GB, free: 14.63 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.6009, allocations: 90.52 kB / 1.132 GB, free: 14.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-06/0.6009, allocations: 1.859 kB / 1.132 GB, free: 14.62 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.6009, allocations: 37.52 kB / 1.132 GB, free: 14.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.293e-06/0.6009, allocations: 0 / 1.132 GB, free: 14.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.0007603/0.6017, allocations: 404.1 kB / 1.133 GB, free: 14.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.6017, allocations: 56.55 kB / 1.133 GB, free: 14.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.602, allocations: 292.4 kB / 1.133 GB, free: 14.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.602, allocations: 29.8 kB / 1.133 GB, free: 14.22 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.6021, allocations: 198 kB / 1.133 GB, free: 14.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.111e-05/0.6022, allocations: 69.31 kB / 1.133 GB, free: 14.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.246e-06/0.6022, allocations: 4.344 kB / 1.133 GB, free: 14.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.204e-05/0.6023, allocations: 339.1 kB / 1.134 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.256e-05/0.6024, allocations: 67.52 kB / 1.134 GB, free: 13.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.6025, allocations: 116.3 kB / 1.134 GB, free: 13.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.6028, allocations: 196 kB / 1.134 GB, free: 13.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6028, allocations: 0 / 1.134 GB, free: 13.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002855/0.6031, allocations: 256 kB / 1.134 GB, free: 13.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.6031, allocations: 3.625 kB / 1.134 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.6031, allocations: 5.312 kB / 1.134 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.6031, allocations: 0 / 1.134 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.6033, allocations: 48.23 kB / 1.134 GB, free: 13.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.6033, allocations: 3.594 kB / 1.134 GB, free: 13.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.6035, allocations: 25.78 kB / 1.134 GB, free: 13.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.6036, allocations: 11.83 kB / 1.134 GB, free: 13.52 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.6037, allocations: 166.7 kB / 1.135 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.6037, allocations: 36.7 kB / 1.135 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.359e-05/0.6038, allocations: 30.59 kB / 1.135 GB, free: 13.37 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.6038, allocations: 6.391 kB / 1.135 GB, free: 13.37 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.6038, allocations: 0 / 1.135 GB, free: 13.37 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.6038, allocations: 1.969 kB / 1.135 GB, free: 13.37 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000381/0.6042, allocations: 405.3 kB / 1.135 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.6042, allocations: 4 kB / 1.135 GB, free: 13.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.6044, allocations: 41.42 kB / 1.135 GB, free: 13.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001632/0.6046, allocations: 40.31 kB / 1.135 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.6046, allocations: 4.797 kB / 1.135 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008917/0.6055, allocations: 1.401 MB / 1.136 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/0.6055, allocations: 3.344 kB / 1.136 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000449/0.606, allocations: 419.2 kB / 1.137 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.6061, allocations: 130.3 kB / 1.137 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.6061, allocations: 3.062 kB / 1.137 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.6064, allocations: 19.02 kB / 1.137 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.6064, allocations: 18.05 kB / 1.137 GB, free: 11.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.6064, allocations: 2.781 kB / 1.137 GB, free: 11.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001628/0.6066, allocations: 215.3 kB / 1.137 GB, free: 11.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6066, allocations: 0 / 1.137 GB, free: 11.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003069/0.6069, allocations: 108.3 kB / 1.137 GB, free: 11.51 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000682/0.6076, allocations: 0.9692 MB / 1.138 GB, free: 10.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.6078, allocations: 160.8 kB / 1.138 GB, free: 10.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6078, allocations: 0 / 1.138 GB, free: 10.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.6081, allocations: 204 kB / 1.139 GB, free: 10.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008211/0.6089, allocations: 180.5 kB / 1.139 GB, free: 10.67 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.6112, allocations: 1.994 MB / 1.141 GB, free: 9.785 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.6115, allocations: 0.7972 MB / 1.142 GB, free: 9.082 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002273/0.6118, allocations: 55.2 kB / 1.142 GB, free: 9.066 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.6119, allocations: 102.6 kB / 1.142 GB, free: 9.059 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/0.6119, allocations: 1.438 kB / 1.142 GB, free: 9.059 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.009/1.621, allocations: 8.812 MB / 1.15 GB, free: 5.621 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/1.621, allocations: 202.6 kB / 1.15 GB, free: 5.387 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.323/3.945, allocations: 4.969 kB / 1.15 GB, free: 5.387 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)