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.9561/0.9561, allocations: 143.3 MB / 158.3 MB, free: 5.789 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.001425/0.001425, allocations: 179.1 kB / 191.5 MB, free: 5.762 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.784/1.784, allocations: 223.2 MB / 447.7 MB, free: 4.816 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.001519/0.001518, allocations: 96.2 kB / 0.5187 GB, free: 1.172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001997/0.001997, allocations: 266.9 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005033/0.0005033, allocations: 19.25 kB / 0.6929 GB, free: 59.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2213, allocations: 82.8 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.307/5.529, allocations: 1.898 GB / 2.671 GB, free: 178.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/5.529, allocations: 90.14 kB / 2.672 GB, free: 178 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.327/6.856, allocations: 318.5 MB / 2.983 GB, free: 147.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.318e-06/6.856, allocations: 0 / 2.983 GB, free: 147.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000301/6.856, allocations: 44 kB / 2.983 GB, free: 147.5 MB / 0.7136 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.008458/6.865, allocations: 1.933 MB / 2.985 GB, free: 145.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 8.839e-05/6.865, allocations: 8.031 kB / 2.985 GB, free: 145.5 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001359/6.866, allocations: 240.6 kB / 2.985 GB, free: 145.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005103/6.871, allocations: 0.4934 MB / 2.985 GB, free: 144.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004196/6.876, allocations: 0.9733 MB / 2.986 GB, free: 143.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/6.876, allocations: 119.3 kB / 2.986 GB, free: 143.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006771/6.876, allocations: 164 kB / 2.986 GB, free: 143.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005562/6.882, allocations: 1.744 MB / 2.988 GB, free: 141.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.894e-05/6.882, allocations: 3.953 kB / 2.988 GB, free: 141.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004414/6.883, allocations: 76 kB / 2.988 GB, free: 141.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.491e-05/6.883, allocations: 40 kB / 2.988 GB, free: 141.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004027/6.887, allocations: 1.812 MB / 2.99 GB, free: 139.8 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01046/6.897, allocations: 4.871 MB / 2.995 GB, free: 134.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002997/6.9, allocations: 1.674 MB / 2.996 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009401/6.901, allocations: 0.8039 MB / 2.997 GB, free: 132 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001751/6.903, allocations: 0.8145 MB / 2.998 GB, free: 131.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=137): time 4.699e-06/6.903, allocations: 0 / 2.998 GB, free: 131.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=137): time 0.006431/6.909, allocations: 2.453 MB / 3 GB, free: 128.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/6.91, allocations: 248.6 kB / 3.001 GB, free: 128.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/6.911, allocations: 0.7471 MB / 3.001 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002217/6.911, allocations: 57.7 kB / 3.001 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006474/6.912, allocations: 0.625 MB / 3.002 GB, free: 126.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004452/6.913, allocations: 461.2 kB / 3.002 GB, free: 126.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.079e-05/6.913, allocations: 28 kB / 3.003 GB, free: 126.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001159/6.913, allocations: 353.9 kB / 3.003 GB, free: 126 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000911/6.914, allocations: 438.4 kB / 3.003 GB, free: 125.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009793/6.915, allocations: 0.5958 MB / 3.004 GB, free: 124.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009993/6.916, allocations: 0.5138 MB / 3.004 GB, free: 124.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/6.916, allocations: 4 kB / 3.004 GB, free: 124.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003328/6.919, allocations: 1.413 MB / 3.006 GB, free: 123 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/6.919, allocations: 5.094 kB / 3.006 GB, free: 123 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/6.919, allocations: 3.984 kB / 3.006 GB, free: 123 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009846/6.92, allocations: 188.2 kB / 3.006 GB, free: 122.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/6.922, allocations: 303.6 kB / 3.006 GB, free: 122.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005314/6.927, allocations: 6.807 MB / 3.013 GB, free: 115 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/6.928, allocations: 155 kB / 3.013 GB, free: 114.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/6.929, allocations: 43.97 kB / 3.013 GB, free: 114.8 MB / 0.7136 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 () * Number of clocked 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.001221/6.93, allocations: 362.5 kB / 3.013 GB, free: 114.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004882/6.93, allocations: 126.5 kB / 3.014 GB, free: 114.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004045/6.934, allocations: 1.756 MB / 3.015 GB, free: 112.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/6.934, allocations: 16 kB / 3.015 GB, free: 112.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/6.934, allocations: 0 / 3.015 GB, free: 112.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/6.934, allocations: 8.156 kB / 3.015 GB, free: 112.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006851/6.941, allocations: 3.332 MB / 3.018 GB, free: 109.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/6.941, allocations: 0 / 3.018 GB, free: 109.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/6.943, allocations: 311.6 kB / 3.019 GB, free: 108.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008055/6.944, allocations: 192.1 kB / 3.019 GB, free: 108.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/6.944, allocations: 39.97 kB / 3.019 GB, free: 108.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004872/6.949, allocations: 6.838 MB / 3.026 GB, free: 101 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/6.949, allocations: 7.891 kB / 3.026 GB, free: 101 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003358/6.952, allocations: 1.601 MB / 3.027 GB, free: 99.39 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/6.953, allocations: 414.9 kB / 3.028 GB, free: 98.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003516/6.953, allocations: 28 kB / 3.028 GB, free: 98.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/6.955, allocations: 127.8 kB / 3.028 GB, free: 98.81 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/6.955, allocations: 105.1 kB / 3.028 GB, free: 98.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002104/6.955, allocations: 63.95 kB / 3.028 GB, free: 98.65 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001126/6.956, allocations: 0.6007 MB / 3.029 GB, free: 98.04 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/6.956, allocations: 0 / 3.029 GB, free: 98.04 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002802/6.959, allocations: 0.6819 MB / 3.029 GB, free: 97.35 MB / 0.7136 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) * Number of clocked states: 0 () * 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.007279/6.967, allocations: 3.714 MB / 3.033 GB, free: 93.78 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003/6.97, allocations: 1.746 MB / 3.035 GB, free: 91.96 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/6.97, allocations: 4.562 kB / 3.035 GB, free: 91.96 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001706/6.971, allocations: 1.258 MB / 3.036 GB, free: 90.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/6.974, allocations: 442 kB / 3.036 GB, free: 90.22 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/6.992, allocations: 8.318 MB / 3.044 GB, free: 81.62 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/6.993, allocations: 1.311 MB / 3.046 GB, free: 80.28 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002562/6.996, allocations: 421.6 kB / 3.046 GB, free: 79.87 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001281/6.997, allocations: 0.6047 MB / 3.047 GB, free: 79.26 MB / 0.7136 GB Notification: Performance of SimCode: time 1.613e-06/6.997, allocations: 0 / 3.047 GB, free: 79.26 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.102/7.099, allocations: 53.11 MB / 3.098 GB, free: 26.56 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/7.099, allocations: 267 kB / 3.099 GB, free: 26.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.479/11.58, allocations: 3.5 kB / 3.099 GB, free: 26.2 MB / 0.7136 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)