Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.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.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw",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.01167/0.01167, allocations: 170 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 0.8176/0.8176, 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 1.651/1.651, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.001022/0.001022, allocations: 93.94 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003793, allocations: 8 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5313/0.5317, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.353/4.884, allocations: 1.874 GB / 2.524 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/4.885, allocations: 93.12 kB / 2.524 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.603/7.488, allocations: 0.6813 GB / 3.205 GB, free: 129.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.846e-06/7.488, allocations: 0 / 3.205 GB, free: 129.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001229/7.488, allocations: 22.34 kB / 3.205 GB, free: 129.6 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.004312/7.492, allocations: 1.244 MB / 3.207 GB, free: 129.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/7.492, allocations: 11.5 kB / 3.207 GB, free: 129 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002384/7.492, allocations: 94.36 kB / 3.207 GB, free: 129 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/7.494, allocations: 233.3 kB / 3.207 GB, free: 129 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/7.495, allocations: 0.6011 MB / 3.207 GB, free: 128.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/7.495, allocations: 37.97 kB / 3.207 GB, free: 128.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/7.496, allocations: 53.19 kB / 3.208 GB, free: 128.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/7.497, allocations: 1.013 MB / 3.209 GB, free: 128.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/7.497, allocations: 8.906 kB / 3.209 GB, free: 128.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.891e-05/7.497, allocations: 22.5 kB / 3.209 GB, free: 128.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/7.497, allocations: 14.12 kB / 3.209 GB, free: 128.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/7.499, allocations: 0.9859 MB / 3.21 GB, free: 128.5 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005104/7.504, allocations: 4.46 MB / 3.214 GB, free: 125.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000941/7.505, allocations: 0.5955 MB / 3.214 GB, free: 125.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009048/7.506, allocations: 0.8822 MB / 3.215 GB, free: 124.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/7.506, allocations: 45.97 kB / 3.215 GB, free: 124.9 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002425/7.508, allocations: 0.5619 MB / 3.216 GB, free: 124.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=50): time 4.108e-06/7.508, allocations: 0 / 3.216 GB, free: 124.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=50): time 0.01727/7.525, allocations: 3.672 MB / 3.22 GB, free: 124.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/7.525, allocations: 57.66 kB / 3.22 GB, free: 124.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/7.526, allocations: 0.623 MB / 3.22 GB, free: 124.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001816/7.527, allocations: 37.42 kB / 3.22 GB, free: 124.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/7.527, allocations: 318.6 kB / 3.221 GB, free: 124.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/7.527, allocations: 176.1 kB / 3.221 GB, free: 124.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/7.527, allocations: 14.08 kB / 3.221 GB, free: 124.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.267e-05/7.527, allocations: 323.2 kB / 3.221 GB, free: 123.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005722/7.528, allocations: 396.3 kB / 3.221 GB, free: 123.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006124/7.528, allocations: 493.4 kB / 3.222 GB, free: 123.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006293/7.529, allocations: 444.5 kB / 3.222 GB, free: 123.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/7.529, allocations: 0 / 3.222 GB, free: 123.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01187/7.541, allocations: 2.468 MB / 3.225 GB, free: 123.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/7.541, allocations: 6.625 kB / 3.225 GB, free: 123.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/7.541, allocations: 0 / 3.225 GB, free: 123.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009105/7.55, allocations: 1.554 MB / 3.226 GB, free: 123.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005732/7.551, allocations: 97.2 kB / 3.226 GB, free: 123.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/7.562, allocations: 6.695 MB / 3.233 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/7.563, allocations: 37.47 kB / 3.233 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/7.563, allocations: 47.41 kB / 3.233 GB, free: 121 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 4,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004574/7.564, allocations: 210 kB / 3.233 GB, free: 120.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/7.564, allocations: 80.62 kB / 3.233 GB, free: 120.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004829/7.569, allocations: 1.662 MB / 3.235 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/7.569, allocations: 7.5 kB / 3.235 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/7.569, allocations: 3.75 kB / 3.235 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/7.569, allocations: 7.734 kB / 3.235 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005758/7.575, allocations: 2.461 MB / 3.237 GB, free: 120.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/7.575, allocations: 0 / 3.237 GB, free: 120.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004417/7.575, allocations: 95.42 kB / 3.237 GB, free: 120.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00308/7.578, allocations: 0.6615 MB / 3.238 GB, free: 120.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.058e-05/7.578, allocations: 11.59 kB / 3.238 GB, free: 120.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006985/7.585, allocations: 4.514 MB / 3.242 GB, free: 117.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/7.585, allocations: 7.562 kB / 3.242 GB, free: 117.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006683/7.592, allocations: 2.155 MB / 3.245 GB, free: 117.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009914/7.593, allocations: 226.1 kB / 3.245 GB, free: 117.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/7.593, allocations: 18.5 kB / 3.245 GB, free: 117.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000961/7.594, allocations: 36.33 kB / 3.245 GB, free: 117.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002787/7.595, allocations: 52.44 kB / 3.245 GB, free: 117.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.417e-05/7.595, allocations: 21.62 kB / 3.245 GB, free: 117.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007769/7.596, allocations: 0.4993 MB / 3.245 GB, free: 117.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.31e-07/7.596, allocations: 0 / 3.245 GB, free: 117.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002662/7.598, allocations: 449.7 kB / 3.246 GB, free: 117.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,92.0%) 3,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01142/7.61, allocations: 4.727 MB / 3.25 GB, free: 115.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00401/7.614, allocations: 1.379 MB / 3.252 GB, free: 115.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/7.614, allocations: 0 / 3.252 GB, free: 115.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001765/7.616, allocations: 0.8821 MB / 3.253 GB, free: 115 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/7.618, allocations: 442.9 kB / 3.253 GB, free: 114.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01829/7.636, allocations: 8.163 MB / 3.261 GB, free: 112.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005123/7.637, allocations: 0.9978 MB / 3.262 GB, free: 111.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009257/7.638, allocations: 160.8 kB / 3.262 GB, free: 111.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004227/7.638, allocations: 278.9 kB / 3.262 GB, free: 111.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/7.638, allocations: 0 / 3.262 GB, free: 111.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0879/7.726, allocations: 53.57 MB / 3.315 GB, free: 90.98 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/7.726, allocations: 234.6 kB / 3.315 GB, free: 90.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.119/11.85, allocations: 0 / 3.315 GB, free: 90.73 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)