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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.188/1.188, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6783/0.6783, allocations: 132.2 MB / 422.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 64.81 kB / 0.5019 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2977, allocations: 80.2 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.1671/0.4648, allocations: 192.6 MB / 0.7683 GB, free: 248 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004953/0.4698, allocations: 4.029 MB / 0.7722 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000323/0.4702, allocations: 19.88 kB / 0.7722 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.4712, allocations: 477 kB / 0.7727 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002755/0.474, allocations: 1.524 MB / 0.7742 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002356/0.4763, allocations: 1.353 MB / 0.7755 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001318/0.4777, allocations: 1.635 MB / 0.7771 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008962/0.4786, allocations: 0.947 MB / 0.778 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008932/0.4795, allocations: 0.9111 MB / 0.7789 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007959/0.4803, allocations: 0.8604 MB / 0.7798 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.4804, allocations: 92 kB / 0.7799 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.4821, allocations: 1.309 MB / 0.7811 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.4824, allocations: 351 kB / 0.7815 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000413/0.4828, allocations: 0.5094 MB / 0.782 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.4843, allocations: 1.62 MB / 0.7835 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.4843, allocations: 0 / 0.7835 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.163e-06/0.4843, allocations: 0 / 0.7835 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.4843, allocations: 4 kB / 0.7836 GB, free: 0.5625 MB / 0.6075 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.002549/0.4869, allocations: 1.456 MB / 0.785 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.4869, allocations: 8.031 kB / 0.785 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.487, allocations: 90.45 kB / 0.7851 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.4884, allocations: 242.6 kB / 0.7853 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006881/0.4891, allocations: 0.5877 MB / 0.7859 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.4891, allocations: 37 kB / 0.7859 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-05/0.4892, allocations: 48 kB / 0.786 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.4905, allocations: 0.9686 MB / 0.7869 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.4905, allocations: 7.844 kB / 0.7869 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.468e-05/0.4906, allocations: 31.88 kB / 0.7869 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.724e-05/0.4907, allocations: 27.98 kB / 0.787 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.492, allocations: 0.9368 MB / 0.7879 GB, free: 11.96 MB / 0.6231 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.00447/0.4965, allocations: 4.266 MB / 0.792 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008451/0.4974, allocations: 0.5939 MB / 0.7926 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007024/0.4981, allocations: 0.5213 MB / 0.7931 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008639/0.499, allocations: 0.8783 MB / 0.794 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.499, allocations: 43 kB / 0.794 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001301/0.5003, allocations: 407.2 kB / 0.7944 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=50): time 1.764e-06/0.5003, allocations: 0 / 0.7944 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of matching and sorting (n=50): time 0.01669/0.517, allocations: 3.837 MB / 0.7982 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.5171, allocations: 59.84 kB / 0.7982 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007051/0.5178, allocations: 0.7116 MB / 0.7989 GB, free: 196 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.979e-05/0.5178, allocations: 37.7 kB / 0.799 GB, free: 152 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.518, allocations: 324.6 kB / 0.7993 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.5182, allocations: 177.4 kB / 0.7994 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/0.5184, allocations: 146.1 kB / 0.7996 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.433e-05/0.5185, allocations: 326 kB / 0.7999 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005901/0.5191, allocations: 400.9 kB / 0.8003 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006474/0.5198, allocations: 481.5 kB / 0.8007 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.5211, allocations: 0.9258 MB / 0.8016 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5211, allocations: 4 kB / 0.8016 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01082/0.5319, allocations: 2.552 MB / 0.8041 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.532, allocations: 11.94 kB / 0.8041 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.532, allocations: 0 / 0.8041 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009147/0.5411, allocations: 1.734 MB / 0.8058 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.5415, allocations: 91.81 kB / 0.8059 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.5529, allocations: 7.147 MB / 0.8129 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000577/0.5535, allocations: 24.05 kB / 0.8129 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-05/0.5535, allocations: 44.19 kB / 0.813 GB, free: 1.414 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002797/0.5538, allocations: 211.2 kB / 0.8132 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.554, allocations: 83 kB / 0.8132 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2157/0.7697, allocations: 1.741 MB / 0.8149 GB, free: 220.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.7697, allocations: 5.719 kB / 0.8149 GB, free: 220.2 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.7697, allocations: 3.469 kB / 0.815 GB, free: 220.2 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/0.7698, allocations: 4.406 kB / 0.815 GB, free: 220.2 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005674/0.7754, allocations: 2.539 MB / 0.8174 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.7755, allocations: 3.156 kB / 0.8174 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003947/0.7759, allocations: 88.78 kB / 0.8175 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003241/0.7791, allocations: 0.81 MB / 0.8183 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.674e-05/0.7792, allocations: 16.75 kB / 0.8183 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005658/0.7848, allocations: 4.851 MB / 0.8231 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.7848, allocations: 6.906 kB / 0.8231 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004885/0.7897, allocations: 2.143 MB / 0.8252 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00033/0.7901, allocations: 238.9 kB / 0.8254 GB, free: 215 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.7902, allocations: 13.83 kB / 0.8254 GB, free: 215 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005449/0.7908, allocations: 23.06 kB / 0.8254 GB, free: 215 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.7909, allocations: 51.72 kB / 0.8255 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.651e-05/0.791, allocations: 23.59 kB / 0.8255 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005486/0.7915, allocations: 0.4955 MB / 0.826 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7915, allocations: 0 / 0.826 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000786/0.7923, allocations: 292.4 kB / 0.8263 GB, free: 214.7 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005002/0.7973, allocations: 2.807 MB / 0.829 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003145/0.8005, allocations: 1.509 MB / 0.8305 GB, free: 212.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8005, allocations: 0 / 0.8305 GB, free: 212.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001563/0.8021, allocations: 0.9202 MB / 0.8314 GB, free: 212.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/0.8039, allocations: 462.7 kB / 0.8318 GB, free: 212 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02589/0.8298, allocations: 10.69 MB / 0.8423 GB, free: 206.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.8301, allocations: 0.9804 MB / 0.8432 GB, free: 205.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005481/0.8307, allocations: 163.2 kB / 0.8434 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/0.831, allocations: 284 kB / 0.8436 GB, free: 205.1 MB / 0.6387 GB Notification: Performance of SimCode: time 7.22e-07/0.831, allocations: 0 / 0.8436 GB, free: 205.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.794/3.625, allocations: 29.42 MB / 0.8724 GB, free: 179.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.482/13.11, allocations: 4.719 kB / 0.8724 GB, free: 179.3 MB / 0.6387 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/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)