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.01041/0.01041, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001696/0.001696, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.506/1.506, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4658/0.4658, allocations: 95.48 MB / 365.4 MB, free: 12.14 MB / 318.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.001527/0.001527, allocations: 76.36 kB / 0.5036 GB, free: 11.87 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5238/0.5254, allocations: 69.09 MB / 0.5711 GB, free: 4.16 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2449/0.7704, allocations: 177.6 MB / 0.7445 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003001/0.7734, allocations: 1.341 MB / 0.7458 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003363/0.7738, allocations: 11.94 kB / 0.7458 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007456/0.7746, allocations: 186.9 kB / 0.746 GB, free: 348 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.5545/1.329, allocations: 0.8891 MB / 0.7469 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001609/1.331, allocations: 465.2 kB / 0.7473 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001721/1.333, allocations: 0.8677 MB / 0.7482 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004102/1.333, allocations: 222.9 kB / 0.7484 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007426/1.334, allocations: 356.8 kB / 0.7487 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009676/1.335, allocations: 291.5 kB / 0.749 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.195e-05/1.335, allocations: 33.25 kB / 0.749 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/1.337, allocations: 0.9028 MB / 0.7499 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000217/1.337, allocations: 126.2 kB / 0.75 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003258/1.337, allocations: 214.6 kB / 0.7502 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00188/1.339, allocations: 0.9595 MB / 0.7512 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.339, allocations: 0.8125 kB / 0.7512 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.443e-06/1.339, allocations: 0 / 0.7512 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.015e-05/1.339, allocations: 3.344 kB / 0.7512 GB, free: 2.043 MB / 0.5919 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.001461/1.341, allocations: 0.7835 MB / 0.7519 GB, free: 17.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/1.341, allocations: 12.89 kB / 0.7519 GB, free: 17.49 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002287/1.341, allocations: 51.3 kB / 0.752 GB, free: 17.47 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008535/1.342, allocations: 463.5 kB / 0.7524 GB, free: 17.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/1.342, allocations: 18.47 kB / 0.7525 GB, free: 17.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.619e-05/1.342, allocations: 29.03 kB / 0.7525 GB, free: 17.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/1.343, allocations: 252.4 kB / 0.7527 GB, free: 17.19 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/1.343, allocations: 4.656 kB / 0.7527 GB, free: 17.19 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.5e-05/1.343, allocations: 10.59 kB / 0.7527 GB, free: 17.19 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/1.343, allocations: 6.875 kB / 0.7527 GB, free: 17.19 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004496/1.343, allocations: 244.5 kB / 0.753 GB, free: 17.19 MB / 0.6075 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.001774/1.345, allocations: 1.281 MB / 0.7542 GB, free: 16.35 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004456/1.345, allocations: 220.8 kB / 0.7544 GB, free: 16.33 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/1.345, allocations: 124.6 kB / 0.7546 GB, free: 16.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005132/1.346, allocations: 462.5 kB / 0.755 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/1.346, allocations: 44.47 kB / 0.755 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 1.522e-06/1.346, allocations: 0.75 kB / 0.755 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.004932/1.351, allocations: 1.57 MB / 0.7566 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/1.351, allocations: 59.56 kB / 0.7566 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003198/1.351, allocations: 314.6 kB / 0.7569 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/1.351, allocations: 30.61 kB / 0.757 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/1.352, allocations: 186.5 kB / 0.7571 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/1.352, allocations: 121.2 kB / 0.7573 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.286e-05/1.352, allocations: 62.14 kB / 0.7573 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.352, allocations: 345 kB / 0.7576 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/1.352, allocations: 120.7 kB / 0.7578 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/1.352, allocations: 179.1 kB / 0.7579 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00622/1.359, allocations: 1.35 MB / 0.7592 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.359, allocations: 0.8125 kB / 0.7593 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008539/1.359, allocations: 471 kB / 0.7597 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/1.359, allocations: 7.719 kB / 0.7597 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.359, allocations: 1.031 kB / 0.7597 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003384/1.36, allocations: 85.34 kB / 0.7598 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/1.36, allocations: 72.34 kB / 0.7599 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/1.362, allocations: 1.908 MB / 0.7617 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/1.362, allocations: 10.23 kB / 0.7617 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/1.362, allocations: 16.53 kB / 0.7617 GB, free: 13.1 MB / 0.6075 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.0003419/1.363, allocations: 182.9 kB / 0.7619 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-05/1.363, allocations: 37.39 kB / 0.762 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009331/1.364, allocations: 487.4 kB / 0.7624 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/1.364, allocations: 3.406 kB / 0.7624 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/1.364, allocations: 5.25 kB / 0.7624 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/1.364, allocations: 0 / 0.7624 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/1.365, allocations: 1.087 MB / 0.7635 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/1.365, allocations: 5 kB / 0.7635 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003577/1.366, allocations: 74.58 kB / 0.7636 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002599/1.366, allocations: 83.89 kB / 0.7636 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/1.366, allocations: 19.41 kB / 0.7637 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/1.367, allocations: 1.638 MB / 0.7653 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.367, allocations: 7.734 kB / 0.7653 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/1.368, allocations: 0.6655 MB / 0.7659 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/1.368, allocations: 152.8 kB / 0.7661 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.459e-05/1.369, allocations: 11.31 kB / 0.7661 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/1.369, allocations: 16.36 kB / 0.7661 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.125e-05/1.369, allocations: 24.39 kB / 0.7661 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/1.369, allocations: 17.62 kB / 0.7661 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002502/1.369, allocations: 227.8 kB / 0.7664 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/1.369, allocations: 0 / 0.7664 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008808/1.37, allocations: 211.1 kB / 0.7666 GB, free: 10.77 MB / 0.6075 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.000584/1.371, allocations: 296.8 kB / 0.7668 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006716/1.371, allocations: 454.3 kB / 0.7673 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.371, allocations: 4.656 kB / 0.7673 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002922/1.372, allocations: 284.9 kB / 0.7675 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/1.373, allocations: 218.1 kB / 0.7678 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/1.375, allocations: 0.9571 MB / 0.7687 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/1.375, allocations: 0.8104 MB / 0.7695 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003328/1.375, allocations: 87.02 kB / 0.7696 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.491e-05/1.375, allocations: 37.42 kB / 0.7696 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of SimCode: time 5.51e-07/1.375, allocations: 0 / 0.7696 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of Templates: time 0.01635/1.392, allocations: 10.59 MB / 0.7799 GB, free: 8.555 MB / 0.6075 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)