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.00112/0.001121, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7553/0.7553, allocations: 132.2 MB / 423.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.0003352, allocations: 12 kB / 0.5033 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.4422, allocations: 81.58 MB / 0.583 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.1892/0.6315, allocations: 159.8 MB / 0.739 GB, free: 300 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007714/0.6393, allocations: 4.08 MB / 0.743 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009011/0.6402, allocations: 19.88 kB / 0.743 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.6415, allocations: 410 kB / 0.7434 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004243/0.6458, allocations: 1.476 MB / 0.7448 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.6477, allocations: 0.6392 MB / 0.7455 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001948/0.6497, allocations: 0.9947 MB / 0.7464 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.6509, allocations: 0.8269 MB / 0.7473 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002193/0.6531, allocations: 0.9622 MB / 0.7482 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009308/0.654, allocations: 0.662 MB / 0.7488 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.6542, allocations: 72 kB / 0.7489 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.656, allocations: 0.6709 MB / 0.7496 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003085/0.6563, allocations: 307.2 kB / 0.7499 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002371/0.6566, allocations: 181.3 kB / 0.75 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.6578, allocations: 1.033 MB / 0.751 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.6578, allocations: 0 / 0.751 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.485e-06/0.6579, allocations: 0 / 0.751 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.772e-05/0.6579, allocations: 0 / 0.751 GB, free: 3.945 MB / 0.5762 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.00256/0.6604, allocations: 1.18 MB / 0.7522 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.6605, allocations: 8.031 kB / 0.7522 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001337/0.6606, allocations: 98.45 kB / 0.7523 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/0.6622, allocations: 242.8 kB / 0.7525 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009438/0.6632, allocations: 0.557 MB / 0.7531 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/0.6632, allocations: 37 kB / 0.7531 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.6633, allocations: 55.91 kB / 0.7532 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.6648, allocations: 0.957 MB / 0.7541 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.6648, allocations: 7.938 kB / 0.7541 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.114e-05/0.6649, allocations: 23.95 kB / 0.7541 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-05/0.665, allocations: 31.98 kB / 0.7542 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/0.6665, allocations: 0.9408 MB / 0.7551 GB, free: 15.64 MB / 0.5919 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.005248/0.6717, allocations: 4.18 MB / 0.7592 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009576/0.6727, allocations: 0.6173 MB / 0.7598 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008569/0.6736, allocations: 0.7198 MB / 0.7605 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.6736, allocations: 42.98 kB / 0.7605 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001564/0.6752, allocations: 351.3 kB / 0.7608 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 7.975e-06/0.6752, allocations: 0 / 0.7608 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.01782/0.693, allocations: 3.682 MB / 0.7644 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.6931, allocations: 59.84 kB / 0.7645 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009931/0.6941, allocations: 0.7 MB / 0.7652 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000179/0.6943, allocations: 37.7 kB / 0.7652 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.6946, allocations: 324.6 kB / 0.7655 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.6948, allocations: 181.3 kB / 0.7657 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.6949, allocations: 8 kB / 0.7657 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.695, allocations: 326 kB / 0.766 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006525/0.6957, allocations: 396.9 kB / 0.7664 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007156/0.6964, allocations: 489.5 kB / 0.7669 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000733/0.6971, allocations: 448.7 kB / 0.7673 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.6971, allocations: 0 / 0.7673 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01125/0.7084, allocations: 2.482 MB / 0.7697 GB, free: 184 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/0.7085, allocations: 4 kB / 0.7697 GB, free: 180 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.7085, allocations: 8.125 kB / 0.7697 GB, free: 172 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009816/0.7183, allocations: 1.546 MB / 0.7712 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006063/0.719, allocations: 95.83 kB / 0.7713 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01837/0.7373, allocations: 6.7 MB / 0.7779 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.7389, allocations: 28.03 kB / 0.7779 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002935/0.7392, allocations: 43.92 kB / 0.7779 GB, free: 7.465 MB / 0.6075 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.0007266/0.74, allocations: 209.9 kB / 0.7781 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003755/0.7404, allocations: 82.97 kB / 0.7782 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008991/0.7494, allocations: 1.676 MB / 0.7798 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.728e-05/0.7495, allocations: 8 kB / 0.7799 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.7495, allocations: 0 / 0.7799 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-05/0.7495, allocations: 11.94 kB / 0.7799 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.012/0.7615, allocations: 2.474 MB / 0.7823 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.7616, allocations: 0 / 0.7823 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009645/0.7626, allocations: 95.88 kB / 0.7824 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006274/0.7689, allocations: 0.6533 MB / 0.783 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/0.7691, allocations: 19.98 kB / 0.783 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01229/0.7815, allocations: 4.51 MB / 0.7874 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/0.7815, allocations: 7.984 kB / 0.7874 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0107/0.7922, allocations: 2.149 MB / 0.7895 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009652/0.7933, allocations: 239.9 kB / 0.7898 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003413/0.7936, allocations: 16 kB / 0.7898 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/0.795, allocations: 31.98 kB / 0.7898 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002911/0.7953, allocations: 52.44 kB / 0.7899 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.7954, allocations: 20 kB / 0.7899 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001309/0.7968, allocations: 0.4912 MB / 0.7904 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.41e-07/0.7968, allocations: 0 / 0.7904 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001864/0.7987, allocations: 291.7 kB / 0.7906 GB, free: 9.969 MB / 0.6231 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.01148/0.8102, allocations: 3.235 MB / 0.7938 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0056/0.8158, allocations: 1.379 MB / 0.7951 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.8159, allocations: 0 / 0.7951 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003295/0.8192, allocations: 0.8875 MB / 0.796 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003924/0.8231, allocations: 445 kB / 0.7964 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02281/0.846, allocations: 8.169 MB / 0.8044 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007266/0.8467, allocations: 1.006 MB / 0.8054 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009194/0.8477, allocations: 162.6 kB / 0.8056 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004901/0.8482, allocations: 291.3 kB / 0.8058 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of SimCode: time 8.92e-07/0.8482, allocations: 0 / 0.8058 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3527/1.201, allocations: 28.03 MB / 0.8332 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/1.201, allocations: 220 kB / 0.8334 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.44/4.641, allocations: 0 / 0.8334 GB, free: 211.4 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/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) Environment - environmentSimulation: