Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8405/0.8405, allocations: 141.8 MB / 149.3 MB, free: 9.23 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001465, allocations: 188.6 kB / 182.2 MB, free: 9.453 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 96.09 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001792/0.001792, allocations: 279.4 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.861e-05/1.863e-05, allocations: 8 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4434, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.228/4.672, allocations: 1.897 GB / 2.654 GB, free: 121.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/4.672, allocations: 88.27 kB / 2.654 GB, free: 121.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9992/5.671, allocations: 314.8 MB / 2.962 GB, free: 93.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.673e-06/5.671, allocations: 0 / 2.962 GB, free: 93.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000164/5.672, allocations: 51.92 kB / 2.962 GB, free: 93.38 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.004005/5.676, allocations: 1.771 MB / 2.964 GB, free: 91.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/5.676, allocations: 11.97 kB / 2.964 GB, free: 91.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003715/5.679, allocations: 0.4895 MB / 2.964 GB, free: 91.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/5.681, allocations: 0.9738 MB / 2.965 GB, free: 90.03 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.174e-05/5.681, allocations: 52.69 kB / 2.965 GB, free: 89.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003104/5.682, allocations: 92 kB / 2.965 GB, free: 89.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002611/5.684, allocations: 1.63 MB / 2.967 GB, free: 88.26 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/5.687, allocations: 1.438 MB / 2.968 GB, free: 86.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.999e-05/5.687, allocations: 4 kB / 2.968 GB, free: 86.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002063/5.687, allocations: 4 kB / 2.968 GB, free: 86.76 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/5.687, allocations: 40 kB / 2.968 GB, free: 86.72 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007882/5.695, allocations: 4.565 MB / 2.973 GB, free: 81.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/5.697, allocations: 1.488 MB / 2.974 GB, free: 80.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006738/5.698, allocations: 0.5464 MB / 2.975 GB, free: 79.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007494/5.699, allocations: 0.8 MB / 2.975 GB, free: 78.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/5.7, allocations: 0.7264 MB / 2.976 GB, free: 78.14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=137): time 3.417e-06/5.7, allocations: 3.938 kB / 2.976 GB, free: 78.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=137): time 0.003256/5.703, allocations: 1.281 MB / 2.977 GB, free: 76.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.232e-05/5.703, allocations: 252.6 kB / 2.978 GB, free: 76.53 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009586/5.704, allocations: 0.6097 MB / 2.978 GB, free: 75.91 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002137/5.704, allocations: 29.7 kB / 2.978 GB, free: 75.88 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004684/5.705, allocations: 0.6403 MB / 2.979 GB, free: 75.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002826/5.705, allocations: 437.4 kB / 2.979 GB, free: 74.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/5.705, allocations: 0 / 2.979 GB, free: 74.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.495e-05/5.705, allocations: 345.9 kB / 2.98 GB, free: 74.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004942/5.706, allocations: 378.5 kB / 2.98 GB, free: 74.08 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005858/5.706, allocations: 0.5192 MB / 2.981 GB, free: 73.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007951/5.707, allocations: 470.1 kB / 2.981 GB, free: 73.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/5.707, allocations: 0 / 2.981 GB, free: 73.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002458/5.71, allocations: 1.242 MB / 2.982 GB, free: 71.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/5.71, allocations: 4 kB / 2.982 GB, free: 71.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/5.71, allocations: 0 / 2.982 GB, free: 71.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008377/5.71, allocations: 196.1 kB / 2.982 GB, free: 71.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/5.712, allocations: 295.6 kB / 2.983 GB, free: 71.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003953/5.716, allocations: 6.492 MB / 2.989 GB, free: 64.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/5.717, allocations: 119 kB / 2.989 GB, free: 64.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/5.717, allocations: 47.97 kB / 2.989 GB, free: 64.06 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003305/5.717, allocations: 124.8 kB / 2.989 GB, free: 63.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003598/5.718, allocations: 114.7 kB / 2.989 GB, free: 63.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003302/5.721, allocations: 1.563 MB / 2.991 GB, free: 62.22 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/5.721, allocations: 12 kB / 2.991 GB, free: 62.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/5.721, allocations: 4 kB / 2.991 GB, free: 62.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/5.721, allocations: 7.969 kB / 2.991 GB, free: 62.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005146/5.726, allocations: 2.951 MB / 2.994 GB, free: 59.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/5.726, allocations: 0 / 2.994 GB, free: 59.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/5.728, allocations: 315.6 kB / 2.994 GB, free: 58.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007401/5.729, allocations: 192.1 kB / 2.994 GB, free: 58.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/5.729, allocations: 23.97 kB / 2.994 GB, free: 58.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003687/5.732, allocations: 6.51 MB / 3.001 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/5.732, allocations: 3.938 kB / 3.001 GB, free: 51.56 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00288/5.735, allocations: 1.433 MB / 3.002 GB, free: 50.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000773/5.736, allocations: 395.1 kB / 3.002 GB, free: 49.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002789/5.736, allocations: 3.984 kB / 3.002 GB, free: 49.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/5.738, allocations: 95.81 kB / 3.003 GB, free: 49.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/5.738, allocations: 101.2 kB / 3.003 GB, free: 49.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001591/5.738, allocations: 67.94 kB / 3.003 GB, free: 49.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006446/5.739, allocations: 491.1 kB / 3.003 GB, free: 48.95 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/5.739, allocations: 0 / 3.003 GB, free: 48.95 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002142/5.741, allocations: 0.623 MB / 3.004 GB, free: 48.33 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002916/5.744, allocations: 1.734 MB / 3.005 GB, free: 46.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002351/5.746, allocations: 1.569 MB / 3.007 GB, free: 45.07 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/5.746, allocations: 4.562 kB / 3.007 GB, free: 45.06 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001373/5.748, allocations: 1.142 MB / 3.008 GB, free: 43.87 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/5.75, allocations: 412 kB / 3.009 GB, free: 43.47 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005385/5.755, allocations: 2.098 MB / 3.011 GB, free: 41.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009606/5.756, allocations: 1.299 MB / 3.012 GB, free: 40.01 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002076/5.758, allocations: 412.8 kB / 3.012 GB, free: 39.61 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005192/5.759, allocations: 135.4 kB / 3.012 GB, free: 39.47 MB / 0.698 GB Notification: Performance of SimCode: time 1.242e-06/5.759, allocations: 0 / 3.012 GB, free: 39.47 MB / 0.698 GB Notification: Performance of Templates: time 0.04332/5.802, allocations: 29.58 MB / 3.041 GB, free: 10.05 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)