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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.015/2.015, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 188.8 kB / 499.1 MB, free: 4.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009697/0.0009696, allocations: 101.9 kB / 0.9329 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 50.06 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2269, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1215/0.3484, allocations: 160.1 MB / 1.374 GB, free: 4.535 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.003826/0.3523, allocations: 2.963 MB / 1.377 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003734/0.3527, allocations: 15.94 kB / 1.377 GB, free: 1.551 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005738/0.3533, allocations: 175.1 kB / 1.378 GB, free: 1.379 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001561/0.3549, allocations: 0.7314 MB / 1.378 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006907/0.3556, allocations: 303.4 kB / 1.379 GB, free: 356 kB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001224/0.3568, allocations: 1.235 MB / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002759/0.3571, allocations: 226.1 kB / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000412/0.3575, allocations: 282.7 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009095/0.3584, allocations: 291.5 kB / 1.381 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 4.315e-05/0.3585, allocations: 16 kB / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.3597, allocations: 0.7519 MB / 1.381 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.3598, allocations: 111.6 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.36, allocations: 191 kB / 1.382 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0008364/0.3609, allocations: 0.7789 MB / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3609, allocations: 4 kB / 1.382 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3609, allocations: 0 / 1.382 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3609, allocations: 0 / 1.382 GB, free: 12.47 MB / 0.8855 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.0009793/0.3619, allocations: 0.7089 MB / 1.383 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3619, allocations: 11.98 kB / 1.383 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008638/0.3628, allocations: 143.4 kB / 1.383 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.3633, allocations: 410.2 kB / 1.384 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.3633, allocations: 16.56 kB / 1.384 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.3634, allocations: 24 kB / 1.384 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/0.3638, allocations: 279.6 kB / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3638, allocations: 0 / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.3638, allocations: 12 kB / 1.384 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.3639, allocations: 12.55 kB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.3642, allocations: 198.1 kB / 1.384 GB, free: 10.58 MB / 0.8855 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.001474/0.3656, allocations: 1.319 MB / 1.385 GB, free: 9.121 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.366, allocations: 190.8 kB / 1.386 GB, free: 8.926 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.3661, allocations: 96.77 kB / 1.386 GB, free: 8.828 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.3661, allocations: 4 kB / 1.386 GB, free: 8.824 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.3662, allocations: 38.55 kB / 1.386 GB, free: 8.777 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 1.272e-06/0.3662, allocations: 0 / 1.386 GB, free: 8.777 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.000847/0.367, allocations: 404.7 kB / 1.386 GB, free: 8.355 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.3671, allocations: 51.41 kB / 1.386 GB, free: 8.293 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.3674, allocations: 300.6 kB / 1.386 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.3674, allocations: 29.7 kB / 1.386 GB, free: 7.945 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.3675, allocations: 200 kB / 1.387 GB, free: 7.746 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.495e-05/0.3676, allocations: 67.03 kB / 1.387 GB, free: 7.68 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.477e-05/0.3676, allocations: 49.61 kB / 1.387 GB, free: 7.625 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3678, allocations: 342.8 kB / 1.387 GB, free: 7.281 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.71e-05/0.3679, allocations: 59.97 kB / 1.387 GB, free: 7.223 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.368, allocations: 123.6 kB / 1.387 GB, free: 7.082 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.3682, allocations: 195.8 kB / 1.387 GB, free: 6.871 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3682, allocations: 3.938 kB / 1.387 GB, free: 6.867 MB / 0.8855 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003318/0.3686, allocations: 254 kB / 1.388 GB, free: 6.613 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3686, allocations: 7.938 kB / 1.388 GB, free: 6.605 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3686, allocations: 4 kB / 1.388 GB, free: 6.602 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3686, allocations: 0 / 1.388 GB, free: 6.602 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.3688, allocations: 39.98 kB / 1.388 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3688, allocations: 7.938 kB / 1.388 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.3691, allocations: 23.83 kB / 1.388 GB, free: 6.531 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.3691, allocations: 8 kB / 1.388 GB, free: 6.523 MB / 0.8855 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.0001372/0.3693, allocations: 162.5 kB / 1.388 GB, free: 6.355 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/0.3693, allocations: 39.5 kB / 1.388 GB, free: 6.316 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.379e-05/0.3694, allocations: 35.08 kB / 1.388 GB, free: 6.285 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3694, allocations: 0 / 1.388 GB, free: 6.285 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3694, allocations: 4 kB / 1.388 GB, free: 6.281 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3694, allocations: 0 / 1.388 GB, free: 6.281 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.3699, allocations: 405.3 kB / 1.388 GB, free: 5.836 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3699, allocations: 0 / 1.388 GB, free: 5.836 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.37, allocations: 27.98 kB / 1.388 GB, free: 5.809 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001921/0.3702, allocations: 52.77 kB / 1.388 GB, free: 5.754 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.3703, allocations: 3.938 kB / 1.388 GB, free: 5.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/0.3713, allocations: 1.413 MB / 1.39 GB, free: 4.203 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3713, allocations: 0 / 1.39 GB, free: 4.203 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00407/0.3754, allocations: 3.73 MB / 1.393 GB, free: 188 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.3755, allocations: 128.7 kB / 1.394 GB, free: 40 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.3756, allocations: 3.984 kB / 1.394 GB, free: 36 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.3758, allocations: 17.42 kB / 1.394 GB, free: 20 kB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.3758, allocations: 15.92 kB / 1.394 GB, free: 4 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.3759, allocations: 8.047 kB / 1.394 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001673/0.376, allocations: 223.1 kB / 1.394 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3761, allocations: 0 / 1.394 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004956/0.3766, allocations: 159.8 kB / 1.394 GB, free: 15.62 MB / 0.9011 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.0001363/0.3767, allocations: 127.3 kB / 1.394 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002394/0.3769, allocations: 159.8 kB / 1.394 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.377, allocations: 4 kB / 1.394 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002578/0.3772, allocations: 195.8 kB / 1.394 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008876/0.3781, allocations: 191.2 kB / 1.395 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.3795, allocations: 1.169 MB / 1.396 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.3798, allocations: 0.8001 MB / 1.397 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002337/0.3801, allocations: 67.23 kB / 1.397 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.3801, allocations: 27.44 kB / 1.397 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of SimCode: time 1.9e-07/0.3801, allocations: 0 / 1.397 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of Templates: time 0.009763/0.3899, allocations: 6.593 MB / 1.403 GB, free: 6.297 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (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 & ./Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)