Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_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.001116/0.001116, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.00113/0.00113, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.773/2.773, allocations: 409.4 MB / 0.684 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004438/0.0004445, allocations: 12 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8675/0.8679, allocations: 146.8 MB / 0.9811 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1709/1.039, allocations: 147.5 MB / 1.125 GB, free: 2.367 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004417/1.043, allocations: 2.726 MB / 1.128 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004519/1.044, allocations: 11.94 kB / 1.128 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005523/1.044, allocations: 139.2 kB / 1.128 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001621/1.046, allocations: 0.5675 MB / 1.128 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006561/1.047, allocations: 238.7 kB / 1.129 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001492/1.048, allocations: 1.06 MB / 1.13 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003455/1.049, allocations: 193.5 kB / 1.13 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000505/1.049, allocations: 278.8 kB / 1.13 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000454/1.05, allocations: 270.9 kB / 1.13 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/1.05, allocations: 12 kB / 1.13 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008792/1.05, allocations: 315.2 kB / 1.131 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000136/1.051, allocations: 107.6 kB / 1.131 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/1.051, allocations: 101.5 kB / 1.131 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0006084/1.051, allocations: 0.4949 MB / 1.131 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/1.051, allocations: 0 / 1.131 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.298e-06/1.051, allocations: 3.984 kB / 1.131 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.765e-06/1.051, allocations: 0 / 1.131 GB, free: 11.86 MB / 0.8887 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.00108/1.052, allocations: 0.6505 MB / 1.132 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/1.053, allocations: 8.031 kB / 1.132 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.322e-05/1.053, allocations: 58.55 kB / 1.132 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009436/1.054, allocations: 143.4 kB / 1.132 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005419/1.054, allocations: 394.6 kB / 1.133 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/1.054, allocations: 16.56 kB / 1.133 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.166e-05/1.054, allocations: 24 kB / 1.133 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004421/1.055, allocations: 271.7 kB / 1.133 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/1.055, allocations: 8 kB / 1.133 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/1.055, allocations: 8 kB / 1.133 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/1.055, allocations: 8.562 kB / 1.133 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000351/1.055, allocations: 206 kB / 1.133 GB, free: 9.973 MB / 0.8887 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.001733/1.057, allocations: 1.322 MB / 1.134 GB, free: 8.508 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/1.057, allocations: 190.8 kB / 1.135 GB, free: 8.312 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/1.057, allocations: 94.2 kB / 1.135 GB, free: 8.219 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/1.057, allocations: 4 kB / 1.135 GB, free: 8.215 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/1.057, allocations: 34.56 kB / 1.135 GB, free: 8.172 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=19): time 1.362e-06/1.057, allocations: 3.938 kB / 1.135 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of matching and sorting (n=19): time 0.000902/1.058, allocations: 400.5 kB / 1.135 GB, free: 7.75 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/1.058, allocations: 59.41 kB / 1.135 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/1.059, allocations: 296.6 kB / 1.136 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/1.059, allocations: 25.7 kB / 1.136 GB, free: 7.355 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/1.059, allocations: 200 kB / 1.136 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.164e-05/1.059, allocations: 63.09 kB / 1.136 GB, free: 7.094 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/1.059, allocations: 4 kB / 1.136 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.059, allocations: 342.8 kB / 1.136 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/1.059, allocations: 63.97 kB / 1.136 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/1.059, allocations: 119.5 kB / 1.136 GB, free: 6.547 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/1.06, allocations: 89.42 kB / 1.136 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.06, allocations: 0 / 1.136 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003729/1.06, allocations: 241.1 kB / 1.137 GB, free: 6.219 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/1.06, allocations: 8 kB / 1.137 GB, free: 6.211 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/1.06, allocations: 0 / 1.137 GB, free: 6.211 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/1.06, allocations: 4 kB / 1.137 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/1.06, allocations: 47.92 kB / 1.137 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/1.06, allocations: 0 / 1.137 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/1.061, allocations: 35.95 kB / 1.137 GB, free: 6.125 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/1.061, allocations: 4 kB / 1.137 GB, free: 6.121 MB / 0.8887 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.0001743/1.061, allocations: 161.8 kB / 1.137 GB, free: 5.953 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.126e-05/1.061, allocations: 35.58 kB / 1.137 GB, free: 5.918 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.281e-05/1.061, allocations: 43.06 kB / 1.137 GB, free: 5.879 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/1.061, allocations: 4 kB / 1.137 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/1.061, allocations: 11.94 kB / 1.137 GB, free: 5.863 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/1.061, allocations: 0 / 1.137 GB, free: 5.863 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005306/1.061, allocations: 405.3 kB / 1.137 GB, free: 5.418 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.061, allocations: 0 / 1.137 GB, free: 5.418 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/1.062, allocations: 31.98 kB / 1.137 GB, free: 5.387 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002147/1.062, allocations: 44.72 kB / 1.137 GB, free: 5.34 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/1.062, allocations: 8 kB / 1.137 GB, free: 5.332 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/1.063, allocations: 1.409 MB / 1.139 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.063, allocations: 0 / 1.139 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005442/1.064, allocations: 401.6 kB / 1.139 GB, free: 3.379 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/1.064, allocations: 120.9 kB / 1.139 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/1.064, allocations: 7.984 kB / 1.139 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/1.064, allocations: 17.81 kB / 1.139 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/1.064, allocations: 11.98 kB / 1.139 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/1.064, allocations: 11.98 kB / 1.139 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002237/1.064, allocations: 219 kB / 1.14 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/1.064, allocations: 3.938 kB / 1.14 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004274/1.065, allocations: 103.8 kB / 1.14 GB, free: 2.875 MB / 0.8887 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 (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.0009335/1.066, allocations: 0.9371 MB / 1.141 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003008/1.066, allocations: 165.4 kB / 1.141 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/1.066, allocations: 4.375 kB / 1.141 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003199/1.066, allocations: 198.6 kB / 1.141 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009724/1.067, allocations: 179.9 kB / 1.141 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/1.07, allocations: 2.019 MB / 1.143 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/1.071, allocations: 0.7923 MB / 1.144 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002828/1.071, allocations: 63.25 kB / 1.144 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/1.071, allocations: 103.4 kB / 1.144 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of SimCode: time 4.4e-07/1.071, allocations: 0 / 1.144 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/1.094, allocations: 8.817 MB / 1.153 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/1.095, allocations: 204.9 kB / 1.153 GB, free: 5.492 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/3.019, allocations: 1.266 kB / 1.153 GB, free: 5.492 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat does not exist to compare? outputFormat=mat