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.001983/0.001982, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7737/0.7737, allocations: 133.4 MB / 146.7 MB, free: 10.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.528/1.528, allocations: 221.3 MB / 400.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009183/0.0009182, allocations: 91.89 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.379e-05/3.389e-05, allocations: 3.062 kB / 0.5601 GB, free: 87.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1576, allocations: 82.31 MB / 0.6405 GB, free: 7.758 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.876/5.033, allocations: 1.874 GB / 2.515 GB, free: 56.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/5.034, allocations: 87.95 kB / 2.515 GB, free: 56.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.937/7.971, allocations: 0.6807 GB / 3.196 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.683e-06/7.971, allocations: 0 / 3.196 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.904e-05/7.971, allocations: 21.47 kB / 3.196 GB, free: 118.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.002659/7.974, allocations: 1.071 MB / 3.197 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/7.974, allocations: 10.97 kB / 3.197 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001348/7.974, allocations: 92.22 kB / 3.197 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/7.975, allocations: 235.1 kB / 3.197 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/7.977, allocations: 0.6013 MB / 3.198 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/7.977, allocations: 39.88 kB / 3.198 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/7.977, allocations: 50.16 kB / 3.198 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/7.978, allocations: 0.9861 MB / 3.199 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/7.978, allocations: 11.61 kB / 3.199 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.117e-05/7.978, allocations: 29.45 kB / 3.199 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/7.978, allocations: 11 kB / 3.199 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/7.98, allocations: 0.9314 MB / 3.2 GB, free: 117.1 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.004836/7.984, allocations: 4.453 MB / 3.204 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007857/7.985, allocations: 0.5828 MB / 3.205 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006412/7.986, allocations: 0.5088 MB / 3.205 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008817/7.987, allocations: 0.8772 MB / 3.206 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/7.987, allocations: 41.12 kB / 3.206 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002279/7.989, allocations: 0.5619 MB / 3.206 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=50): time 4.538e-06/7.989, allocations: 3.5 kB / 3.206 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=50): time 0.01047/8, allocations: 2.376 MB / 3.209 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/8, allocations: 58.69 kB / 3.209 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009857/8.001, allocations: 0.6165 MB / 3.209 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002061/8.001, allocations: 36.17 kB / 3.209 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/8.001, allocations: 318.8 kB / 3.21 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/8.001, allocations: 179.4 kB / 3.21 GB, free: 113 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/8.001, allocations: 9.531 kB / 3.21 GB, free: 113 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.144e-05/8.001, allocations: 324.2 kB / 3.21 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005659/8.002, allocations: 367.1 kB / 3.211 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006664/8.003, allocations: 476 kB / 3.211 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006476/8.003, allocations: 419.2 kB / 3.211 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/8.003, allocations: 7.25 kB / 3.211 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01054/8.014, allocations: 2.413 MB / 3.214 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/8.014, allocations: 5.656 kB / 3.214 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/8.014, allocations: 4.469 kB / 3.214 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008823/8.023, allocations: 1.552 MB / 3.215 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006201/8.023, allocations: 97.05 kB / 3.215 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/8.034, allocations: 6.519 MB / 3.222 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/8.035, allocations: 31.88 kB / 3.222 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/8.036, allocations: 53.05 kB / 3.222 GB, free: 109.5 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.0001974/8.036, allocations: 128.3 kB / 3.222 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/8.036, allocations: 82 kB / 3.222 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004722/8.041, allocations: 1.624 MB / 3.224 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/8.041, allocations: 3.688 kB / 3.224 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/8.041, allocations: 7.812 kB / 3.224 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/8.041, allocations: 6.812 kB / 3.224 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005467/8.046, allocations: 2.426 MB / 3.226 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/8.046, allocations: 3.688 kB / 3.226 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004449/8.047, allocations: 87.62 kB / 3.226 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003008/8.05, allocations: 0.6615 MB / 3.227 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.253e-05/8.05, allocations: 14.59 kB / 3.227 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005467/8.055, allocations: 4.414 MB / 3.231 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/8.055, allocations: 0 / 3.231 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004718/8.06, allocations: 2.076 MB / 3.233 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006288/8.061, allocations: 231.4 kB / 3.233 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/8.061, allocations: 15.61 kB / 3.233 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006233/8.062, allocations: 38.91 kB / 3.233 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/8.062, allocations: 52.72 kB / 3.233 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.862e-05/8.062, allocations: 19 kB / 3.234 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00062/8.062, allocations: 0.4899 MB / 3.234 GB, free: 103 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.222e-06/8.062, allocations: 0 / 3.234 GB, free: 103 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001769/8.064, allocations: 457 kB / 3.234 GB, free: 102.9 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.00733/8.072, allocations: 4.641 MB / 3.239 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00293/8.074, allocations: 1.324 MB / 3.24 GB, free: 99.81 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/8.075, allocations: 3.938 kB / 3.24 GB, free: 99.81 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/8.076, allocations: 0.8443 MB / 3.241 GB, free: 99.29 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/8.078, allocations: 435.8 kB / 3.241 GB, free: 99.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/8.081, allocations: 1.525 MB / 3.243 GB, free: 98.29 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/8.082, allocations: 0.9951 MB / 3.244 GB, free: 97.46 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006966/8.082, allocations: 163.8 kB / 3.244 GB, free: 97.41 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003712/8.083, allocations: 281.1 kB / 3.244 GB, free: 97.18 MB / 0.6823 GB Notification: Performance of SimCode: time 1.784e-06/8.083, allocations: 3.938 kB / 3.244 GB, free: 97.18 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0817/8.164, allocations: 57.96 MB / 3.301 GB, free: 41.56 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/8.165, allocations: 194.2 kB / 3.301 GB, free: 41.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.092/12.26, allocations: 3.938 kB / 3.301 GB, free: 41.33 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)