Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.21/2.21, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00133/0.001329, allocations: 174.4 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.297/2.297, allocations: 205.4 MB / 0.5772 GB, free: 21.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008625/0.0008622, allocations: 92 kB / 0.6817 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007244/0.0007247, allocations: 11.91 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2098, allocations: 106.3 MB / 0.8995 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.001/7.211, allocations: 2.212 GB / 3.112 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003671/7.211, allocations: 96.7 kB / 3.112 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.174/9.385, allocations: 467.5 MB / 3.568 GB, free: 155 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.475e-06/9.385, allocations: 0 / 3.568 GB, free: 155 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001711/9.385, allocations: 43.98 kB / 3.569 GB, free: 155 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.006059/9.391, allocations: 1.971 MB / 3.57 GB, free: 152.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/9.391, allocations: 8.031 kB / 3.57 GB, free: 152.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004967/9.396, allocations: 462.1 kB / 3.571 GB, free: 152.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003006/9.4, allocations: 0.988 MB / 3.572 GB, free: 151.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/9.4, allocations: 119.1 kB / 3.572 GB, free: 151.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003423/9.4, allocations: 152 kB / 3.572 GB, free: 151.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004958/9.405, allocations: 1.722 MB / 3.574 GB, free: 149.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.759e-05/9.405, allocations: 7.938 kB / 3.574 GB, free: 149.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002752/9.405, allocations: 72 kB / 3.574 GB, free: 149.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/9.405, allocations: 36 kB / 3.574 GB, free: 149.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004804/9.41, allocations: 1.69 MB / 3.576 GB, free: 147.6 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.01214/9.422, allocations: 5.94 MB / 3.581 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003622/9.426, allocations: 1.249 MB / 3.583 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/9.428, allocations: 0.5464 MB / 3.583 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/9.429, allocations: 0.8906 MB / 3.584 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002015/9.431, allocations: 0.7582 MB / 3.585 GB, free: 137.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=117): time 3.927e-06/9.431, allocations: 0 / 3.585 GB, free: 137.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=117): time 0.007342/9.438, allocations: 1.789 MB / 3.586 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.561e-05/9.438, allocations: 252.2 kB / 3.587 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/9.44, allocations: 0.9966 MB / 3.588 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004523/9.441, allocations: 57.7 kB / 3.588 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006138/9.441, allocations: 0.6329 MB / 3.588 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004703/9.442, allocations: 398.2 kB / 3.589 GB, free: 133.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/9.442, allocations: 20 kB / 3.589 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.172e-05/9.442, allocations: 345.9 kB / 3.589 GB, free: 133.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/9.444, allocations: 397.8 kB / 3.589 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/9.445, allocations: 0.5716 MB / 3.59 GB, free: 132.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/9.447, allocations: 482.8 kB / 3.59 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/9.447, allocations: 0 / 3.59 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004562/9.451, allocations: 1.227 MB / 3.592 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/9.451, allocations: 11.94 kB / 3.592 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/9.451, allocations: 3.984 kB / 3.592 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009721/9.452, allocations: 84.91 kB / 3.592 GB, free: 130.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002461/9.455, allocations: 267.7 kB / 3.592 GB, free: 130 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002639/9.458, allocations: 1.533 MB / 3.594 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/9.46, allocations: 162.8 kB / 3.594 GB, free: 128.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/9.46, allocations: 47.91 kB / 3.594 GB, free: 128.1 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001185/9.461, allocations: 374.6 kB / 3.594 GB, free: 127.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004654/9.462, allocations: 126.5 kB / 3.594 GB, free: 127.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005508/9.467, allocations: 1.546 MB / 3.596 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/9.467, allocations: 16 kB / 3.596 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/9.467, allocations: 7.875 kB / 3.596 GB, free: 126 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.406e-05/9.467, allocations: 7.969 kB / 3.596 GB, free: 126 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002985/9.47, allocations: 1.437 MB / 3.597 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/9.47, allocations: 0 / 3.597 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002438/9.473, allocations: 267.7 kB / 3.597 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008775/9.474, allocations: 92.77 kB / 3.597 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001968/9.474, allocations: 31.97 kB / 3.598 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002331/9.476, allocations: 1.555 MB / 3.599 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/9.476, allocations: 4.031 kB / 3.599 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006678/9.483, allocations: 2.015 MB / 3.601 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/9.484, allocations: 419 kB / 3.601 GB, free: 120 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003738/9.485, allocations: 28 kB / 3.601 GB, free: 120 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002224/9.487, allocations: 119.9 kB / 3.602 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/9.487, allocations: 81.2 kB / 3.602 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002422/9.487, allocations: 55.95 kB / 3.602 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001423/9.489, allocations: 0.7023 MB / 3.602 GB, free: 119 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.31e-07/9.489, allocations: 3.938 kB / 3.602 GB, free: 119 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002722/9.492, allocations: 0.6469 MB / 3.603 GB, free: 118.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003891/9.496, allocations: 1.819 MB / 3.605 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003883/9.5, allocations: 1.183 MB / 3.606 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/9.5, allocations: 0.7969 kB / 3.606 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002087/9.502, allocations: 0.7284 MB / 3.607 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004412/9.506, allocations: 0.5197 MB / 3.607 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/9.517, allocations: 3.644 MB / 3.611 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009851/9.518, allocations: 1.291 MB / 3.612 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003124/9.521, allocations: 441.9 kB / 3.612 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008582/9.522, allocations: 143.3 kB / 3.613 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.253e-06/9.522, allocations: 0 / 3.613 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.09031/9.612, allocations: 39.47 MB / 3.651 GB, free: 69.36 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)