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.001629/0.001629, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001735/0.001735, allocations: 195.1 kB / 16.25 MB, free: 6.629 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.272/1.272, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.658/2.658, allocations: 469.8 MB / 0.7421 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 70.12 kB / 0.9082 GB, free: 34.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2537, allocations: 159.2 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1692/0.423, allocations: 160.2 MB / 1.22 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004301/0.4274, allocations: 2.905 MB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000395/0.4278, allocations: 15.94 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006375/0.4284, allocations: 179.1 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.4302, allocations: 0.7236 MB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007314/0.4309, allocations: 309.1 kB / 1.224 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001205/0.4321, allocations: 0.9408 MB / 1.225 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003769/0.4325, allocations: 250.2 kB / 1.225 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005652/0.4331, allocations: 338.7 kB / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008584/0.434, allocations: 306.2 kB / 1.226 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.562e-05/0.4341, allocations: 36 kB / 1.226 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.4351, allocations: 0.678 MB / 1.227 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.4353, allocations: 123.6 kB / 1.227 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002397/0.4355, allocations: 215.1 kB / 1.227 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.4366, allocations: 0.7984 MB / 1.228 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.4366, allocations: 0 / 1.228 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.183e-06/0.4366, allocations: 0 / 1.228 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.268e-06/0.4366, allocations: 0 / 1.228 GB, free: 5.938 MB / 0.9825 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.001131/0.4377, allocations: 0.7088 MB / 1.228 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.4378, allocations: 16.03 kB / 1.228 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.476e-05/0.4379, allocations: 58.53 kB / 1.228 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009863/0.4389, allocations: 131.4 kB / 1.229 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005934/0.4395, allocations: 414.2 kB / 1.229 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.4395, allocations: 28.5 kB / 1.229 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.834e-05/0.4395, allocations: 24 kB / 1.229 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004652/0.44, allocations: 279.7 kB / 1.229 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.44, allocations: 0 / 1.229 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.4401, allocations: 11.94 kB / 1.229 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.4401, allocations: 12.56 kB / 1.229 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003384/0.4404, allocations: 194.1 kB / 1.229 GB, free: 3.977 MB / 0.9825 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.001756/0.4422, allocations: 1.319 MB / 1.231 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000401/0.4426, allocations: 196 kB / 1.231 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.4428, allocations: 88.83 kB / 1.231 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.4428, allocations: 0 / 1.231 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.4428, allocations: 42.55 kB / 1.231 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.133e-06/0.4428, allocations: 0 / 1.231 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.0009247/0.4438, allocations: 400.5 kB / 1.231 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.4438, allocations: 55.41 kB / 1.231 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.4441, allocations: 300.5 kB / 1.232 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.4442, allocations: 33.7 kB / 1.232 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.4443, allocations: 188.1 kB / 1.232 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.93e-05/0.4444, allocations: 67 kB / 1.232 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.436e-05/0.4445, allocations: 53.61 kB / 1.232 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4446, allocations: 342.8 kB / 1.232 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.4447, allocations: 59.98 kB / 1.232 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.4449, allocations: 115.1 kB / 1.233 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.4452, allocations: 192.1 kB / 1.233 GB, free: 304 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4452, allocations: 3.938 kB / 1.233 GB, free: 300 kB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003787/0.4456, allocations: 250.8 kB / 1.233 GB, free: 44 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.4456, allocations: 8 kB / 1.233 GB, free: 36 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4456, allocations: 0 / 1.233 GB, free: 36 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.4456, allocations: 4 kB / 1.233 GB, free: 32 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.4458, allocations: 47.97 kB / 1.233 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.4458, allocations: 0 / 1.233 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.4461, allocations: 31.88 kB / 1.233 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.4462, allocations: 8 kB / 1.233 GB, free: 15.95 MB / 0.9981 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.000174/0.4463, allocations: 161.7 kB / 1.233 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-05/0.4464, allocations: 35.56 kB / 1.233 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.954e-05/0.4465, allocations: 39.08 kB / 1.233 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.4465, allocations: 4 kB / 1.233 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4465, allocations: 0 / 1.233 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4465, allocations: 0 / 1.233 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/0.4471, allocations: 409.3 kB / 1.234 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4471, allocations: 0 / 1.234 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.4473, allocations: 43.86 kB / 1.234 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001964/0.4475, allocations: 36.83 kB / 1.234 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.4475, allocations: 8 kB / 1.234 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.449, allocations: 1.512 MB / 1.235 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.449, allocations: 4.031 kB / 1.235 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006814/0.4497, allocations: 399.8 kB / 1.236 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.4498, allocations: 132.8 kB / 1.236 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.4499, allocations: 3.938 kB / 1.236 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.4502, allocations: 17.7 kB / 1.236 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.4502, allocations: 11.98 kB / 1.236 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.4502, allocations: 4 kB / 1.236 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002377/0.4505, allocations: 223.1 kB / 1.236 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4505, allocations: 0 / 1.236 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003917/0.4509, allocations: 103.8 kB / 1.236 GB, free: 12.59 MB / 0.9981 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.0009218/0.4518, allocations: 0.9432 MB / 1.237 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000324/0.4521, allocations: 174.2 kB / 1.237 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4521, allocations: 4.375 kB / 1.237 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.4525, allocations: 206.5 kB / 1.237 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009351/0.4534, allocations: 191.8 kB / 1.238 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.4572, allocations: 3.047 MB / 1.241 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.4576, allocations: 0.7995 MB / 1.241 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002658/0.4579, allocations: 59.25 kB / 1.241 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.4581, allocations: 103.4 kB / 1.242 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.4581, allocations: 0 / 1.242 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.638/2.096, allocations: 8.79 MB / 1.25 GB, free: 188 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/2.097, allocations: 216.5 kB / 1.25 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.051/4.147, allocations: 0 / 1.25 GB, free: 187.7 MB / 0.9981 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)