Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_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.001984/0.001984, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9866/0.9866, allocations: 133.6 MB / 141.6 MB, free: 2.875 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 221.5 MB / 395.5 MB, free: 10.77 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.0008904/0.0008903, allocations: 104.9 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.286e-05/2.289e-05, allocations: 0 / 0.5535 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5923/0.5924, allocations: 82.31 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.719/6.311, allocations: 1.9 GB / 2.534 GB, free: 97.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/6.312, allocations: 87.33 kB / 2.534 GB, free: 97.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.162/7.473, allocations: 314.8 MB / 2.841 GB, free: 63.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.683e-06/7.473, allocations: 0 / 2.841 GB, free: 63.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001857/7.473, allocations: 47.94 kB / 2.841 GB, free: 63.3 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.004231/7.478, allocations: 1.761 MB / 2.843 GB, free: 61.48 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/7.478, allocations: 8.031 kB / 2.843 GB, free: 61.47 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003707/7.481, allocations: 0.4972 MB / 2.843 GB, free: 60.97 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002077/7.483, allocations: 0.975 MB / 2.844 GB, free: 59.95 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.231e-05/7.484, allocations: 56 kB / 2.844 GB, free: 59.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003551/7.484, allocations: 92 kB / 2.844 GB, free: 59.81 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002819/7.487, allocations: 1.619 MB / 2.846 GB, free: 58.19 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002821/7.49, allocations: 1.449 MB / 2.847 GB, free: 56.69 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/7.49, allocations: 0 / 2.847 GB, free: 56.69 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/7.49, allocations: 0 / 2.847 GB, free: 56.69 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/7.49, allocations: 40 kB / 2.848 GB, free: 56.65 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007437/7.497, allocations: 4.565 MB / 2.852 GB, free: 51.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/7.499, allocations: 1.492 MB / 2.853 GB, free: 50.32 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000676/7.5, allocations: 0.5308 MB / 2.854 GB, free: 49.79 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007572/7.501, allocations: 0.8039 MB / 2.855 GB, free: 48.82 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/7.502, allocations: 0.7215 MB / 2.855 GB, free: 48.08 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 3.116e-06/7.502, allocations: 0 / 2.855 GB, free: 48.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.003177/7.505, allocations: 1.281 MB / 2.857 GB, free: 46.77 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/7.505, allocations: 252.6 kB / 2.857 GB, free: 46.47 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008708/7.506, allocations: 0.6096 MB / 2.858 GB, free: 45.85 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001445/7.506, allocations: 33.69 kB / 2.858 GB, free: 45.81 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000415/7.506, allocations: 0.6364 MB / 2.858 GB, free: 45.16 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002762/7.507, allocations: 437.3 kB / 2.859 GB, free: 44.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/7.507, allocations: 0 / 2.859 GB, free: 44.73 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.225e-05/7.507, allocations: 365.9 kB / 2.859 GB, free: 44.37 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004737/7.507, allocations: 370.5 kB / 2.859 GB, free: 44 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005564/7.508, allocations: 0.5153 MB / 2.86 GB, free: 43.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007374/7.509, allocations: 474.1 kB / 2.86 GB, free: 42.99 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/7.509, allocations: 0 / 2.86 GB, free: 42.99 MB / 0.6823 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002404/7.511, allocations: 1.238 MB / 2.861 GB, free: 41.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/7.511, allocations: 12.06 kB / 2.861 GB, free: 41.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/7.511, allocations: 3.938 kB / 2.861 GB, free: 41.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000811/7.512, allocations: 192.1 kB / 2.862 GB, free: 41.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/7.513, allocations: 299.6 kB / 2.862 GB, free: 41.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003723/7.517, allocations: 6.491 MB / 2.868 GB, free: 34.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/7.518, allocations: 111.2 kB / 2.868 GB, free: 34.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/7.518, allocations: 43.97 kB / 2.868 GB, free: 33.99 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 () * 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.0003176/7.519, allocations: 130.2 kB / 2.869 GB, free: 33.86 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002356/7.521, allocations: 1.245 MB / 2.87 GB, free: 32.59 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/7.521, allocations: 110.7 kB / 2.87 GB, free: 32.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002981/7.524, allocations: 1.552 MB / 2.871 GB, free: 30.89 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/7.524, allocations: 23.98 kB / 2.871 GB, free: 30.87 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/7.524, allocations: 0 / 2.871 GB, free: 30.87 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/7.524, allocations: 7.938 kB / 2.871 GB, free: 30.86 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004687/7.529, allocations: 2.949 MB / 2.874 GB, free: 27.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/7.529, allocations: 0 / 2.874 GB, free: 27.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/7.53, allocations: 311.6 kB / 2.875 GB, free: 27.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007073/7.531, allocations: 196.1 kB / 2.875 GB, free: 27.34 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.634e-05/7.531, allocations: 19.97 kB / 2.875 GB, free: 27.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003625/7.535, allocations: 6.523 MB / 2.881 GB, free: 20.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/7.535, allocations: 3.984 kB / 2.881 GB, free: 20.22 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/7.538, allocations: 1.426 MB / 2.883 GB, free: 18.76 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000634/7.538, allocations: 391.1 kB / 2.883 GB, free: 18.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/7.538, allocations: 4 kB / 2.883 GB, free: 18.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/7.539, allocations: 103.7 kB / 2.883 GB, free: 18.25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/7.54, allocations: 101.2 kB / 2.883 GB, free: 18.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/7.54, allocations: 63.95 kB / 2.883 GB, free: 18.09 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005511/7.54, allocations: 499.1 kB / 2.884 GB, free: 17.61 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/7.54, allocations: 4 kB / 2.884 GB, free: 17.61 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001902/7.542, allocations: 0.6154 MB / 2.884 GB, free: 16.99 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) * 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.00498/7.547, allocations: 3.606 MB / 2.888 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002047/7.549, allocations: 1.584 MB / 2.889 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/7.549, allocations: 4.688 kB / 2.889 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/7.551, allocations: 1.15 MB / 2.89 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/7.553, allocations: 390.6 kB / 2.891 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005569/7.558, allocations: 2.408 MB / 2.893 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006605/7.559, allocations: 1.305 MB / 2.894 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001663/7.56, allocations: 412.8 kB / 2.895 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007798/7.561, allocations: 0.6203 MB / 2.895 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of SimCode: time 7.42e-07/7.561, allocations: 0 / 2.895 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5684/8.13, allocations: 42.31 MB / 2.937 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/8.13, allocations: 156.6 kB / 2.937 GB, free: 161 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.503/11.63, allocations: 3.906 kB / 2.937 GB, free: 161 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)