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: "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8423/0.8423, allocations: 141.8 MB / 149.3 MB, free: 9.211 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.001061/0.001061, allocations: 184.8 kB / 182.2 MB, free: 9.438 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.518/1.518, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.001027/0.001027, allocations: 93.55 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.00193/0.00193, allocations: 274.3 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.445e-05/2.452e-05, allocations: 4 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5011/0.5011, allocations: 82.77 MB / 0.7575 GB, free: 31.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.92/5.422, allocations: 1.897 GB / 2.654 GB, free: 160.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/5.422, allocations: 87.95 kB / 2.655 GB, free: 160.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.057/6.479, allocations: 314.8 MB / 2.962 GB, free: 121.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.513e-06/6.479, allocations: 0 / 2.962 GB, free: 121.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001189/6.48, allocations: 52.72 kB / 2.962 GB, free: 121.5 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.00327/6.483, allocations: 1.764 MB / 2.964 GB, free: 119.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/6.483, allocations: 12.03 kB / 2.964 GB, free: 119.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003442/6.486, allocations: 0.4931 MB / 2.964 GB, free: 119.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001905/6.488, allocations: 0.9679 MB / 2.965 GB, free: 118.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.084e-05/6.488, allocations: 53.2 kB / 2.965 GB, free: 118.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/6.489, allocations: 96 kB / 2.965 GB, free: 118.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002347/6.491, allocations: 1.63 MB / 2.967 GB, free: 116.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/6.493, allocations: 1.444 MB / 2.968 GB, free: 115 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/6.493, allocations: 0 / 2.968 GB, free: 115 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/6.493, allocations: 4 kB / 2.968 GB, free: 115 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/6.493, allocations: 40 kB / 2.968 GB, free: 114.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007177/6.5, allocations: 4.573 MB / 2.973 GB, free: 110.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/6.502, allocations: 1.492 MB / 2.974 GB, free: 108.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006529/6.503, allocations: 0.5347 MB / 2.975 GB, free: 108.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00082/6.504, allocations: 0.7961 MB / 2.976 GB, free: 107.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/6.505, allocations: 0.7293 MB / 2.976 GB, free: 106.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=137): time 4.358e-06/6.505, allocations: 4 kB / 2.976 GB, free: 106.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=137): time 0.003051/6.508, allocations: 1.273 MB / 2.977 GB, free: 105 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/6.508, allocations: 260.6 kB / 2.978 GB, free: 104.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000722/6.509, allocations: 0.6058 MB / 2.978 GB, free: 104.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/6.509, allocations: 29.7 kB / 2.978 GB, free: 104.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/6.509, allocations: 0.6364 MB / 2.979 GB, free: 103.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003009/6.51, allocations: 445.2 kB / 2.979 GB, free: 103 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-05/6.51, allocations: 3.938 kB / 2.979 GB, free: 103 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.289e-05/6.51, allocations: 357.9 kB / 2.98 GB, free: 102.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005223/6.51, allocations: 370.5 kB / 2.98 GB, free: 102.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005731/6.511, allocations: 0.5231 MB / 2.981 GB, free: 101.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007276/6.512, allocations: 462.1 kB / 2.981 GB, free: 101.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/6.512, allocations: 7.953 kB / 2.981 GB, free: 101.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002351/6.514, allocations: 1.238 MB / 2.982 GB, free: 100 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/6.514, allocations: 4 kB / 2.982 GB, free: 99.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/6.514, allocations: 0 / 2.982 GB, free: 99.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000839/6.515, allocations: 192.1 kB / 2.982 GB, free: 99.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/6.516, allocations: 303.6 kB / 2.983 GB, free: 99.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003749/6.52, allocations: 6.499 MB / 2.989 GB, free: 92.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/6.521, allocations: 111.1 kB / 2.989 GB, free: 92.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/6.521, allocations: 47.97 kB / 2.989 GB, free: 92.25 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.0003508/6.522, allocations: 126.3 kB / 2.989 GB, free: 92.12 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002582/6.524, allocations: 1.238 MB / 2.991 GB, free: 90.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/6.524, allocations: 118.6 kB / 2.991 GB, free: 90.74 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003056/6.528, allocations: 1.56 MB / 2.992 GB, free: 89.15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/6.528, allocations: 12 kB / 2.992 GB, free: 89.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.892e-06/6.528, allocations: 4 kB / 2.992 GB, free: 89.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/6.528, allocations: 7.969 kB / 2.992 GB, free: 89.13 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004795/6.532, allocations: 2.939 MB / 2.995 GB, free: 86.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/6.532, allocations: 4 kB / 2.995 GB, free: 86.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/6.534, allocations: 315.6 kB / 2.995 GB, free: 85.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007566/6.535, allocations: 184.2 kB / 2.996 GB, free: 85.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.74e-05/6.535, allocations: 23.97 kB / 2.996 GB, free: 85.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003662/6.538, allocations: 6.521 MB / 3.002 GB, free: 78.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/6.538, allocations: 0 / 3.002 GB, free: 78.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/6.541, allocations: 1.441 MB / 3.003 GB, free: 77.03 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006074/6.542, allocations: 399.1 kB / 3.004 GB, free: 76.62 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/6.542, allocations: 0 / 3.004 GB, free: 76.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/6.543, allocations: 99.84 kB / 3.004 GB, free: 76.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/6.543, allocations: 105.1 kB / 3.004 GB, free: 76.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/6.543, allocations: 63.95 kB / 3.004 GB, free: 76.35 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005533/6.544, allocations: 491.1 kB / 3.004 GB, free: 75.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.544, allocations: 0 / 3.004 GB, free: 75.88 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001842/6.546, allocations: 0.623 MB / 3.005 GB, free: 75.25 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.005018/6.551, allocations: 3.601 MB / 3.009 GB, free: 71.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002155/6.553, allocations: 1.573 MB / 3.01 GB, free: 70.09 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/6.553, allocations: 4.562 kB / 3.01 GB, free: 70.09 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001218/6.554, allocations: 1.142 MB / 3.011 GB, free: 68.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/6.556, allocations: 406.6 kB / 3.012 GB, free: 68.51 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00554/6.562, allocations: 2.402 MB / 3.014 GB, free: 66.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006351/6.562, allocations: 1.311 MB / 3.015 GB, free: 64.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001668/6.564, allocations: 416.8 kB / 3.016 GB, free: 64.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007326/6.565, allocations: 0.6125 MB / 3.016 GB, free: 63.69 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/6.565, allocations: 0 / 3.016 GB, free: 63.69 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07585/6.641, allocations: 42.36 MB / 3.058 GB, free: 21.49 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/6.641, allocations: 185.6 kB / 3.058 GB, free: 21.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.698/10.34, allocations: 0 / 3.058 GB, free: 21.3 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpLowRise.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)