Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01499/0.01499, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.312/1.312, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.073/3.073, allocations: 223.2 MB / 406.8 MB, free: 3.215 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.001844/0.001844, allocations: 99.39 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009363/0.0009364, allocations: 12 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.018, allocations: 82.3 MB / 0.6495 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.13/11.15, allocations: 1.9 GB / 2.55 GB, free: 36.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006832/11.15, allocations: 90.39 kB / 2.55 GB, free: 36.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.095/14.24, allocations: 318.5 MB / 2.861 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 8.115e-06/14.24, allocations: 2.906 kB / 2.861 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0006718/14.24, allocations: 50 kB / 2.861 GB, free: 156.2 MB / 0.6823 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.01188/14.25, allocations: 1.912 MB / 2.863 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001132/14.25, allocations: 13.31 kB / 2.863 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001592/14.26, allocations: 240.5 kB / 2.863 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007895/14.26, allocations: 0.4964 MB / 2.864 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006123/14.27, allocations: 0.9661 MB / 2.865 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004723/14.27, allocations: 128.9 kB / 2.865 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001041/14.27, allocations: 158.2 kB / 2.865 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007141/14.28, allocations: 1.744 MB / 2.867 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.153e-05/14.28, allocations: 0 / 2.867 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003531/14.28, allocations: 68.38 kB / 2.867 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.64e-05/14.28, allocations: 44.05 kB / 2.867 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005724/14.29, allocations: 1.807 MB / 2.869 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01473/14.3, allocations: 4.874 MB / 2.873 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004726/14.31, allocations: 1.675 MB / 2.875 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001317/14.31, allocations: 0.8034 MB / 2.876 GB, free: 152 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004153/14.31, allocations: 0.8079 MB / 2.877 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 2.212e-05/14.31, allocations: 0.5 kB / 2.877 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.01138/14.32, allocations: 2.455 MB / 2.879 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002085/14.32, allocations: 253.2 kB / 2.879 GB, free: 151 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002659/14.33, allocations: 0.7514 MB / 2.88 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000497/14.33, allocations: 52.36 kB / 2.88 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001221/14.33, allocations: 0.633 MB / 2.881 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000987/14.33, allocations: 457.8 kB / 2.881 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/14.33, allocations: 20.94 kB / 2.881 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000216/14.33, allocations: 353.4 kB / 2.881 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001895/14.33, allocations: 440.5 kB / 2.882 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002051/14.33, allocations: 0.5945 MB / 2.882 GB, free: 150 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/14.33, allocations: 0.516 MB / 2.883 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/14.33, allocations: 3.75 kB / 2.883 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.006533/14.34, allocations: 1.409 MB / 2.884 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.809e-05/14.34, allocations: 7.656 kB / 2.884 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/14.34, allocations: 0 / 2.884 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001726/14.34, allocations: 196.3 kB / 2.884 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/14.35, allocations: 295.8 kB / 2.885 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009141/14.36, allocations: 6.809 MB / 2.891 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003513/14.36, allocations: 144.8 kB / 2.891 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000364/14.36, allocations: 47.98 kB / 2.892 GB, free: 143.4 MB / 0.6823 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.001934/14.36, allocations: 357.6 kB / 2.892 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007578/14.36, allocations: 132.7 kB / 2.892 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007783/14.37, allocations: 1.76 MB / 2.894 GB, free: 143 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.248e-05/14.37, allocations: 14.75 kB / 2.894 GB, free: 143 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.592e-05/14.37, allocations: 0 / 2.894 GB, free: 143 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.727e-05/14.37, allocations: 7.547 kB / 2.894 GB, free: 143 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/14.38, allocations: 3.334 MB / 2.897 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.847e-05/14.38, allocations: 0 / 2.897 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002926/14.39, allocations: 301.9 kB / 2.897 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001543/14.39, allocations: 199.2 kB / 2.897 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/14.39, allocations: 43.14 kB / 2.898 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008635/14.4, allocations: 6.855 MB / 2.904 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/14.4, allocations: 0 / 2.904 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006833/14.4, allocations: 1.602 MB / 2.906 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/14.41, allocations: 409.5 kB / 2.906 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003093/14.41, allocations: 29.22 kB / 2.906 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002225/14.41, allocations: 121.7 kB / 2.906 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000379/14.41, allocations: 102.2 kB / 2.906 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002612/14.41, allocations: 71.25 kB / 2.906 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001566/14.41, allocations: 0.6048 MB / 2.907 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.3e-07/14.41, allocations: 0 / 2.907 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00463/14.41, allocations: 0.6843 MB / 2.908 GB, free: 135.6 MB / 0.6823 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.01245/14.43, allocations: 3.715 MB / 2.911 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006155/14.43, allocations: 1.739 MB / 2.913 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.273e-05/14.43, allocations: 7.734 kB / 2.913 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003481/14.44, allocations: 1.263 MB / 2.914 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004265/14.44, allocations: 433.4 kB / 2.915 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0301/14.47, allocations: 8.331 MB / 2.923 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001483/14.47, allocations: 1.298 MB / 2.924 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004199/14.48, allocations: 415.3 kB / 2.925 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001986/14.48, allocations: 0.6056 MB / 2.925 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.144e-06/14.48, allocations: 0 / 2.925 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1834/14.66, allocations: 53.06 MB / 2.977 GB, free: 123 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004173/14.66, allocations: 248 kB / 2.977 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/22.48, allocations: 0 / 2.977 GB, free: 122.7 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)