Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 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_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.006317/0.006317, allocations: 104.3 kB / 15.74 MB, free: 6.441 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.001192/0.001192, allocations: 188.6 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.1 MB / 222.5 MB, free: 4.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6626/0.6626, allocations: 95.48 MB / 365.4 MB, free: 9.773 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 75.88 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2258, allocations: 69.09 MB / 0.5711 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.7682/0.9941, allocations: 177.6 MB / 0.7445 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002777/0.9969, allocations: 1.345 MB / 0.7458 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003995/0.9973, allocations: 11.94 kB / 0.7458 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007278/0.9981, allocations: 186.9 kB / 0.746 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002382/1.001, allocations: 0.8902 MB / 0.7469 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001268/1.002, allocations: 473.6 kB / 0.7473 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001137/1.003, allocations: 0.8604 MB / 0.7482 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003536/1.003, allocations: 236.6 kB / 0.7484 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000558/1.004, allocations: 354.6 kB / 0.7487 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008502/1.005, allocations: 274.5 kB / 0.749 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.84e-05/1.005, allocations: 36 kB / 0.749 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/1.006, allocations: 0.8966 MB / 0.7499 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001745/1.007, allocations: 139.5 kB / 0.75 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002286/1.007, allocations: 219 kB / 0.7502 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001296/1.008, allocations: 0.9541 MB / 0.7512 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/1.008, allocations: 0 / 0.7512 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/1.008, allocations: 0 / 0.7512 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.336e-06/1.008, allocations: 4 kB / 0.7512 GB, free: 5.984 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001328/1.01, allocations: 0.7673 MB / 0.7519 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/1.01, allocations: 19.97 kB / 0.7519 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002533/1.01, allocations: 43.53 kB / 0.752 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008104/1.011, allocations: 458.2 kB / 0.7524 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/1.011, allocations: 20.56 kB / 0.7524 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.728e-05/1.011, allocations: 27.94 kB / 0.7525 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/1.011, allocations: 248.9 kB / 0.7527 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/1.011, allocations: 0 / 0.7527 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/1.011, allocations: 8 kB / 0.7527 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/1.011, allocations: 8 kB / 0.7527 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000415/1.012, allocations: 254.1 kB / 0.753 GB, free: 4.055 MB / 0.5606 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.001627/1.013, allocations: 1.273 MB / 0.7542 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/1.014, allocations: 234.3 kB / 0.7544 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/1.014, allocations: 131.1 kB / 0.7546 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004865/1.015, allocations: 453.5 kB / 0.755 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/1.015, allocations: 35 kB / 0.755 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=26): time 1.363e-06/1.015, allocations: 0 / 0.755 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.005386/1.02, allocations: 1.579 MB / 0.7566 GB, free: 52 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/1.02, allocations: 59.34 kB / 0.7566 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003602/1.02, allocations: 316.5 kB / 0.7569 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/1.021, allocations: 33.7 kB / 0.757 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/1.021, allocations: 180.6 kB / 0.7571 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/1.021, allocations: 118.3 kB / 0.7572 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/1.021, allocations: 53.7 kB / 0.7573 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1.021, allocations: 350.8 kB / 0.7576 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/1.021, allocations: 124.1 kB / 0.7577 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/1.021, allocations: 173.4 kB / 0.7579 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006944/1.028, allocations: 1.351 MB / 0.7592 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.028, allocations: 0 / 0.7592 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001029/1.029, allocations: 473.3 kB / 0.7597 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/1.03, allocations: 8.094 kB / 0.7597 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/1.03, allocations: 0 / 0.7597 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003981/1.03, allocations: 80.8 kB / 0.7598 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/1.03, allocations: 71.89 kB / 0.7598 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/1.032, allocations: 1.901 MB / 0.7617 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/1.033, allocations: 11.97 kB / 0.7617 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/1.033, allocations: 14.91 kB / 0.7617 GB, free: 10.55 MB / 0.5762 GB Warning: Assuming fixed start value for the following 3 variables: vol.dynBal.medium.p:VARIABLE(flow=false min = 0.0 max = 1e8 start = vol.dynBal.p_start unit = "Pa" fixed = true nominal = 101325.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real vol.dynBal.medium.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 start = 0.01 unit = "1" fixed = true nominal = 0.01 stateSelect=StateSelect.prefer protected = true ) "Structurally independent mass fractions" type: Real [1] vol.dynBal.medium.T:VARIABLE(min = 1.0 max = 1e4 start = vol.dynBal.T_start unit = "K" fixed = true nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (34): * Single equations (assignments): 33 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003817/1.033, allocations: 179.8 kB / 0.7619 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.526e-05/1.033, allocations: 35.53 kB / 0.7619 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/1.034, allocations: 482.4 kB / 0.7624 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/1.034, allocations: 7.938 kB / 0.7624 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/1.034, allocations: 0 / 0.7624 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/1.034, allocations: 4.109 kB / 0.7624 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/1.036, allocations: 1.087 MB / 0.7635 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.036, allocations: 0 / 0.7635 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/1.036, allocations: 75.84 kB / 0.7635 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003036/1.037, allocations: 84.88 kB / 0.7636 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/1.037, allocations: 11.94 kB / 0.7636 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/1.038, allocations: 1.641 MB / 0.7652 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.038, allocations: 0 / 0.7652 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/1.039, allocations: 0.6718 MB / 0.7659 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/1.039, allocations: 152.8 kB / 0.766 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.442e-05/1.04, allocations: 15.94 kB / 0.766 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/1.04, allocations: 11.98 kB / 0.766 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.773e-05/1.04, allocations: 35.89 kB / 0.7661 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/1.04, allocations: 12 kB / 0.7661 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002855/1.04, allocations: 231 kB / 0.7663 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.04, allocations: 0 / 0.7663 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008999/1.041, allocations: 207.9 kB / 0.7665 GB, free: 5.367 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (vol.dynBal.medium.p,vol.dynBal.medium.Xi[1],vol.dynBal.medium.T) * 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 (33): * Single equations (assignments): 32 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007207/1.042, allocations: 282.9 kB / 0.7668 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008078/1.043, allocations: 443 kB / 0.7672 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/1.043, allocations: 4.188 kB / 0.7672 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003557/1.043, allocations: 290.4 kB / 0.7675 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/1.044, allocations: 249.5 kB / 0.7677 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/1.046, allocations: 0.934 MB / 0.7686 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/1.047, allocations: 0.8083 MB / 0.7694 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000316/1.047, allocations: 79.25 kB / 0.7695 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/1.047, allocations: 39.42 kB / 0.7695 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/1.047, allocations: 4 kB / 0.7695 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of Templates: time 0.0182/1.065, allocations: 10.58 MB / 0.7799 GB, free: 7.668 MB / 0.5919 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)