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.001836/0.001836, allocations: 173.9 kB / 7.648 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.975/0.975, allocations: 133.6 MB / 141.6 MB, free: 2.898 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.589/1.589, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.000954/0.0009541, allocations: 108.4 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.678e-05/2.665e-05, allocations: 7.984 kB / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4756/0.4757, allocations: 82.31 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.582/5.058, allocations: 1.874 GB / 2.508 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/5.058, allocations: 83.08 kB / 2.508 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.805/7.863, allocations: 0.6732 GB / 3.181 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.265e-06/7.863, allocations: 0 / 3.181 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001284/7.863, allocations: 19.81 kB / 3.181 GB, free: 121.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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.003663/7.867, allocations: 1.068 MB / 3.182 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/7.867, allocations: 9.594 kB / 3.182 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002542/7.87, allocations: 232.5 kB / 3.182 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002464/7.872, allocations: 0.6061 MB / 3.183 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.521e-05/7.872, allocations: 16.03 kB / 3.183 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002919/7.873, allocations: 38.03 kB / 3.183 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001993/7.875, allocations: 0.8748 MB / 3.184 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/7.876, allocations: 0.9249 MB / 3.185 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.828e-05/7.876, allocations: 6.5 kB / 3.185 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.441e-05/7.876, allocations: 0 / 3.185 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/7.876, allocations: 15.59 kB / 3.185 GB, free: 120.4 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.005554/7.882, allocations: 4.317 MB / 3.189 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007406/7.883, allocations: 0.5503 MB / 3.189 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005758/7.883, allocations: 0.4919 MB / 3.19 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009204/7.884, allocations: 0.8809 MB / 3.191 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/7.884, allocations: 40.88 kB / 3.191 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002354/7.887, allocations: 0.5392 MB / 3.191 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=50): time 8.436e-06/7.887, allocations: 3 kB / 3.191 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=50): time 0.01131/7.898, allocations: 2.36 MB / 3.194 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/7.898, allocations: 58.59 kB / 3.194 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008749/7.899, allocations: 465.6 kB / 3.194 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001893/7.899, allocations: 25.7 kB / 3.194 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/7.9, allocations: 330.9 kB / 3.194 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/7.9, allocations: 167.8 kB / 3.195 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-05/7.9, allocations: 0 / 3.195 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001424/7.9, allocations: 375.9 kB / 3.195 GB, free: 116 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005093/7.901, allocations: 359.2 kB / 3.195 GB, free: 116 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005507/7.901, allocations: 457.9 kB / 3.196 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008258/7.902, allocations: 436.6 kB / 3.196 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/7.902, allocations: 0 / 3.196 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01098/7.913, allocations: 2.396 MB / 3.198 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/7.913, allocations: 3.219 kB / 3.198 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/7.913, allocations: 3.688 kB / 3.199 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009032/7.922, allocations: 1.536 MB / 3.2 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005476/7.923, allocations: 97.14 kB / 3.2 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/7.933, allocations: 6.241 MB / 3.206 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/7.934, allocations: 30.42 kB / 3.206 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001915/7.935, allocations: 49.5 kB / 3.206 GB, free: 113.2 MB / 0.6823 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 () * 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.0002344/7.935, allocations: 114 kB / 3.206 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01111/7.946, allocations: 2.341 MB / 3.209 GB, free: 113 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003952/7.947, allocations: 72.39 kB / 3.209 GB, free: 113 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005045/7.952, allocations: 1.578 MB / 3.21 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/7.952, allocations: 11.28 kB / 3.21 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/7.952, allocations: 3.875 kB / 3.21 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/7.952, allocations: 3.844 kB / 3.21 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005704/7.957, allocations: 2.309 MB / 3.213 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/7.957, allocations: 0 / 3.213 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/7.958, allocations: 93.02 kB / 3.213 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003044/7.961, allocations: 0.6554 MB / 3.213 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.134e-05/7.961, allocations: 17.08 kB / 3.213 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005398/7.966, allocations: 4.31 MB / 3.217 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/7.966, allocations: 0 / 3.217 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004841/7.971, allocations: 2.04 MB / 3.219 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000592/7.972, allocations: 216.5 kB / 3.22 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/7.972, allocations: 0 / 3.22 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007772/7.973, allocations: 38.7 kB / 3.22 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/7.973, allocations: 53.83 kB / 3.22 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-05/7.973, allocations: 26.06 kB / 3.22 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004799/7.974, allocations: 357 kB / 3.22 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/7.974, allocations: 0 / 3.22 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001921/7.976, allocations: 406.2 kB / 3.221 GB, free: 109.5 MB / 0.6823 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 () * 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.008108/7.984, allocations: 4.802 MB / 3.225 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002954/7.987, allocations: 1.268 MB / 3.226 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.83e-06/7.987, allocations: 2.5 kB / 3.226 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/7.988, allocations: 0.8156 MB / 3.227 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/7.99, allocations: 321.1 kB / 3.228 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/7.994, allocations: 1.462 MB / 3.229 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005145/7.994, allocations: 0.9955 MB / 3.23 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007075/7.995, allocations: 138.3 kB / 3.23 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004893/7.996, allocations: 266.4 kB / 3.23 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.132e-06/7.996, allocations: 0 / 3.23 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06613/8.062, allocations: 36.22 MB / 3.266 GB, free: 105 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/8.062, allocations: 146.9 kB / 3.266 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.303/11.37, allocations: 4 kB / 3.266 GB, free: 104.8 MB / 0.6823 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)