Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001238/0.001238, allocations: 192.4 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.381/1.381, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.829/2.829, allocations: 472.6 MB / 0.7448 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 58.41 kB / 0.9115 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3815, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1794/0.561, allocations: 160.2 MB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004693/0.5657, allocations: 2.903 MB / 1.227 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000561/0.5663, allocations: 15.94 kB / 1.227 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007018/0.5671, allocations: 175.1 kB / 1.227 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.569, allocations: 0.7236 MB / 1.228 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008853/0.5699, allocations: 322.4 kB / 1.228 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.5713, allocations: 0.9311 MB / 1.229 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003972/0.5717, allocations: 254.2 kB / 1.229 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005883/0.5723, allocations: 330.7 kB / 1.23 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008576/0.5731, allocations: 315 kB / 1.23 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.363e-05/0.5732, allocations: 32 kB / 1.23 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.5745, allocations: 0.678 MB / 1.231 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.5746, allocations: 127.7 kB / 1.231 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.5749, allocations: 218.9 kB / 1.231 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.576, allocations: 0.7907 MB / 1.232 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.576, allocations: 0 / 1.232 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.576, allocations: 0 / 1.232 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.576, allocations: 0 / 1.232 GB, free: 2.242 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.001186/0.5772, allocations: 0.7127 MB / 1.232 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.5773, allocations: 12.03 kB / 1.232 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.5783, allocations: 131.4 kB / 1.233 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005779/0.5789, allocations: 414.2 kB / 1.233 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.579, allocations: 20.56 kB / 1.233 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/0.579, allocations: 24 kB / 1.233 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004865/0.5795, allocations: 275.7 kB / 1.233 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.5795, allocations: 0 / 1.233 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.5796, allocations: 16 kB / 1.233 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/0.5796, allocations: 8.562 kB / 1.233 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003617/0.58, allocations: 198.1 kB / 1.233 GB, free: 364 kB / 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.001803/0.5818, allocations: 1.322 MB / 1.235 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/0.5822, allocations: 190.8 kB / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.5824, allocations: 90.66 kB / 1.235 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.5824, allocations: 7.938 kB / 1.235 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.5824, allocations: 42.55 kB / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.5825, allocations: 0 / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.0009722/0.5834, allocations: 395.4 kB / 1.235 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.5835, allocations: 63.33 kB / 1.236 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.5838, allocations: 300.6 kB / 1.236 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.5839, allocations: 29.7 kB / 1.236 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.584, allocations: 192.1 kB / 1.236 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.172e-05/0.5841, allocations: 70.98 kB / 1.236 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.371e-05/0.5841, allocations: 45.62 kB / 1.236 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5843, allocations: 342.8 kB / 1.236 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.5844, allocations: 63.97 kB / 1.236 GB, free: 13 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.5845, allocations: 112 kB / 1.237 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.5848, allocations: 208 kB / 1.237 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5848, allocations: 0 / 1.237 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003586/0.5852, allocations: 246.8 kB / 1.237 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.5852, allocations: 7.938 kB / 1.237 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5852, allocations: 4 kB / 1.237 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.5852, allocations: 4 kB / 1.237 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.5854, allocations: 48.09 kB / 1.237 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.5855, allocations: 4 kB / 1.237 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000305/0.5858, allocations: 19.84 kB / 1.237 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.5858, allocations: 8 kB / 1.237 GB, free: 12.3 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.0001606/0.586, allocations: 165.7 kB / 1.237 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.239e-05/0.586, allocations: 35.56 kB / 1.237 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.5862, allocations: 39.08 kB / 1.237 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.5862, allocations: 4 kB / 1.237 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.5862, allocations: 0 / 1.237 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.5862, allocations: 3.984 kB / 1.237 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.5867, allocations: 397.4 kB / 1.238 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5867, allocations: 0 / 1.238 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.5869, allocations: 27.98 kB / 1.238 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000223/0.5871, allocations: 52.7 kB / 1.238 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.5872, allocations: 8 kB / 1.238 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.5884, allocations: 1.512 MB / 1.239 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.5884, allocations: 11.91 kB / 1.239 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000554/0.589, allocations: 391.9 kB / 1.24 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.5891, allocations: 128.7 kB / 1.24 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.5892, allocations: 11.94 kB / 1.24 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.5895, allocations: 17.59 kB / 1.24 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.5895, allocations: 15.98 kB / 1.24 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.5896, allocations: 7.938 kB / 1.24 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002295/0.5898, allocations: 215.1 kB / 1.24 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5898, allocations: 0 / 1.24 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000451/0.5903, allocations: 111.7 kB / 1.24 GB, free: 8.945 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.000209/0.5905, allocations: 119.2 kB / 1.24 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000333/0.5908, allocations: 171.8 kB / 1.24 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5908, allocations: 384 / 1.24 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003063/0.5911, allocations: 204.5 kB / 1.241 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009678/0.5921, allocations: 188.5 kB / 1.241 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.5934, allocations: 0.8448 MB / 1.242 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.5938, allocations: 0.7997 MB / 1.242 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003051/0.5941, allocations: 63.25 kB / 1.242 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.537e-05/0.5942, allocations: 23.44 kB / 1.243 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.5942, allocations: 0 / 1.243 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of Templates: time 0.01141/0.6056, allocations: 6.08 MB / 1.248 GB, free: 500 kB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)