Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IDEAS_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.006194/0.006194, allocations: 172.3 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7251/0.7251, allocations: 135.2 MB / 151 MB, free: 13.83 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.558/1.558, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.001013/0.001012, allocations: 97.31 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003142, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5399/0.5402, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.076/6.616, allocations: 1.874 GB / 2.524 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004671/6.617, allocations: 87.95 kB / 2.524 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.92/9.537, allocations: 0.6813 GB / 3.205 GB, free: 129.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.296e-06/9.537, allocations: 0 / 3.205 GB, free: 129.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.806e-05/9.537, allocations: 21.78 kB / 3.205 GB, free: 129.4 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.003713/9.541, allocations: 1.237 MB / 3.207 GB, free: 128.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/9.541, allocations: 10.94 kB / 3.207 GB, free: 128.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001722/9.541, allocations: 91.09 kB / 3.207 GB, free: 128.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/9.543, allocations: 241.1 kB / 3.207 GB, free: 128.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/9.544, allocations: 0.6048 MB / 3.207 GB, free: 128.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/9.544, allocations: 39.69 kB / 3.207 GB, free: 128.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/9.544, allocations: 52.78 kB / 3.208 GB, free: 128.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/9.545, allocations: 1.011 MB / 3.209 GB, free: 128.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/9.545, allocations: 11.12 kB / 3.209 GB, free: 128.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.048e-05/9.546, allocations: 22.47 kB / 3.209 GB, free: 128.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/9.546, allocations: 15.84 kB / 3.209 GB, free: 128.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/9.547, allocations: 0.9797 MB / 3.21 GB, free: 128.3 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.004971/9.552, allocations: 4.463 MB / 3.214 GB, free: 125.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008743/9.553, allocations: 0.5926 MB / 3.214 GB, free: 125.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008973/9.554, allocations: 0.8818 MB / 3.215 GB, free: 124.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/9.554, allocations: 40.41 kB / 3.215 GB, free: 124.7 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002415/9.556, allocations: 0.566 MB / 3.216 GB, free: 124.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=50): time 3.757e-06/9.556, allocations: 0 / 3.216 GB, free: 124.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=50): time 0.01743/9.574, allocations: 3.677 MB / 3.22 GB, free: 124.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/9.574, allocations: 57.94 kB / 3.22 GB, free: 124.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/9.575, allocations: 0.6195 MB / 3.22 GB, free: 124.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002226/9.575, allocations: 39.3 kB / 3.22 GB, free: 124.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/9.575, allocations: 321.8 kB / 3.221 GB, free: 124.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/9.576, allocations: 176.6 kB / 3.221 GB, free: 124 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/9.576, allocations: 10.38 kB / 3.221 GB, free: 124 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.667e-05/9.576, allocations: 329 kB / 3.221 GB, free: 123.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006033/9.576, allocations: 391.2 kB / 3.221 GB, free: 123.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006481/9.577, allocations: 489.8 kB / 3.222 GB, free: 123.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00068/9.578, allocations: 445.4 kB / 3.222 GB, free: 123.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/9.578, allocations: 3.438 kB / 3.222 GB, free: 123.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01123/9.589, allocations: 2.466 MB / 3.225 GB, free: 123.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/9.589, allocations: 7.094 kB / 3.225 GB, free: 123.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/9.589, allocations: 7.125 kB / 3.225 GB, free: 123.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009146/9.598, allocations: 1.543 MB / 3.226 GB, free: 123.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005614/9.599, allocations: 98.27 kB / 3.226 GB, free: 123.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/9.61, allocations: 6.692 MB / 3.233 GB, free: 120.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/9.611, allocations: 36.83 kB / 3.233 GB, free: 120.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/9.611, allocations: 49.38 kB / 3.233 GB, free: 120.9 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.0004565/9.612, allocations: 206.8 kB / 3.233 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/9.612, allocations: 84 kB / 3.233 GB, free: 120.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004839/9.617, allocations: 1.672 MB / 3.235 GB, free: 120.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/9.617, allocations: 6.688 kB / 3.235 GB, free: 120.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/9.617, allocations: 1.844 kB / 3.235 GB, free: 120.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/9.617, allocations: 2.016 kB / 3.235 GB, free: 120.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005752/9.623, allocations: 2.461 MB / 3.237 GB, free: 120.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/9.623, allocations: 3.25 kB / 3.237 GB, free: 120.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004341/9.623, allocations: 94.98 kB / 3.237 GB, free: 120.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003142/9.626, allocations: 0.6555 MB / 3.238 GB, free: 120.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.252e-05/9.627, allocations: 17.12 kB / 3.238 GB, free: 120.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005648/9.632, allocations: 4.519 MB / 3.242 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/9.632, allocations: 9.75 kB / 3.242 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005574/9.638, allocations: 2.153 MB / 3.245 GB, free: 117.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007428/9.639, allocations: 232.4 kB / 3.245 GB, free: 117.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/9.639, allocations: 13 kB / 3.245 GB, free: 117.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006434/9.639, allocations: 41.56 kB / 3.245 GB, free: 117.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/9.64, allocations: 53.09 kB / 3.245 GB, free: 117.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.943e-05/9.64, allocations: 20.62 kB / 3.245 GB, free: 117.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006835/9.64, allocations: 0.4888 MB / 3.245 GB, free: 117 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/9.64, allocations: 0 / 3.245 GB, free: 117 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001943/9.642, allocations: 457.6 kB / 3.246 GB, free: 117 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.008518/9.651, allocations: 4.717 MB / 3.25 GB, free: 115.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003421/9.654, allocations: 1.389 MB / 3.252 GB, free: 115 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/9.654, allocations: 3.844 kB / 3.252 GB, free: 115 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001724/9.656, allocations: 0.8794 MB / 3.253 GB, free: 114.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/9.658, allocations: 436.2 kB / 3.253 GB, free: 114.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/9.677, allocations: 8.164 MB / 3.261 GB, free: 112.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005409/9.677, allocations: 0.9927 MB / 3.262 GB, free: 111.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009009/9.678, allocations: 157.9 kB / 3.262 GB, free: 111.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004006/9.678, allocations: 276.9 kB / 3.262 GB, free: 111.4 MB / 0.698 GB Notification: Performance of SimCode: time 8.01e-07/9.678, allocations: 10.19 kB / 3.262 GB, free: 111.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09475/9.773, allocations: 53.57 MB / 3.315 GB, free: 91.18 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/9.773, allocations: 221.5 kB / 3.315 GB, free: 90.93 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.725/13.5, allocations: 4 kB / 3.315 GB, free: 90.93 MB / 0.698 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_PowerLaw.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)