Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_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.0009286/0.0009287, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001123/0.001123, allocations: 172.7 kB / 15.95 MB, free: 208 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.377/1.377, allocations: 223.2 MB / 240 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9043/0.9043, allocations: 135.3 MB / 426.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003379, allocations: 8.688 kB / 0.5071 GB, free: 5.016 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1589, allocations: 82.32 MB / 0.5875 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.4705/0.6295, allocations: 175.3 MB / 0.7586 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006299/0.6358, allocations: 3.773 MB / 0.7623 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007559/0.6366, allocations: 23.81 kB / 0.7623 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.6377, allocations: 313.9 kB / 0.7626 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00297/0.6406, allocations: 1.143 MB / 0.7638 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002678/0.6433, allocations: 0.9587 MB / 0.7647 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002429/0.6458, allocations: 1.99 MB / 0.7666 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.6469, allocations: 0.829 MB / 0.7675 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.6483, allocations: 0.8487 MB / 0.7683 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009809/0.6493, allocations: 0.8333 MB / 0.7691 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.6494, allocations: 72 kB / 0.7692 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.6512, allocations: 0.7093 MB / 0.7699 GB, free: 2 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003299/0.6516, allocations: 327 kB / 0.7702 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.6518, allocations: 185.3 kB / 0.7703 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.653, allocations: 1.068 MB / 0.7714 GB, free: 432 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6531, allocations: 0 / 0.7714 GB, free: 432 kB / 0.5762 GB Notification: Performance of FrontEnd: time 4.058e-06/0.6531, allocations: 0 / 0.7714 GB, free: 432 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.6531, allocations: 3.938 kB / 0.7714 GB, free: 428 kB / 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.002404/0.6555, allocations: 1.19 MB / 0.7726 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.6555, allocations: 8.031 kB / 0.7726 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/0.6557, allocations: 102.2 kB / 0.7727 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.6571, allocations: 238.7 kB / 0.7729 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008042/0.6579, allocations: 0.5609 MB / 0.7734 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.658, allocations: 37 kB / 0.7735 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.6581, allocations: 55.89 kB / 0.7735 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.6595, allocations: 0.9647 MB / 0.7745 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.6595, allocations: 4 kB / 0.7745 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.026e-05/0.6596, allocations: 20 kB / 0.7745 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.021e-05/0.6596, allocations: 35.94 kB / 0.7745 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.6611, allocations: 0.9445 MB / 0.7754 GB, free: 12.11 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.004821/0.6659, allocations: 4.179 MB / 0.7795 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009079/0.6668, allocations: 0.6016 MB / 0.7801 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007453/0.6676, allocations: 0.5214 MB / 0.7806 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009762/0.6686, allocations: 0.89 MB / 0.7815 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.6686, allocations: 39 kB / 0.7815 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001303/0.6699, allocations: 359.2 kB / 0.7819 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 2.374e-06/0.6699, allocations: 0 / 0.7819 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.01507/0.685, allocations: 3.689 MB / 0.7855 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.6851, allocations: 55.84 kB / 0.7855 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008988/0.686, allocations: 0.7039 MB / 0.7862 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.6861, allocations: 37.7 kB / 0.7862 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.6864, allocations: 320.6 kB / 0.7866 GB, free: 268 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.6865, allocations: 181.3 kB / 0.7867 GB, free: 84 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.6866, allocations: 12 kB / 0.7867 GB, free: 72 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6867, allocations: 326 kB / 0.787 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006406/0.6874, allocations: 396.9 kB / 0.7874 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007074/0.6881, allocations: 493.5 kB / 0.7879 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007144/0.6888, allocations: 448.7 kB / 0.7883 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6888, allocations: 3.938 kB / 0.7883 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.009854/0.6987, allocations: 2.478 MB / 0.7907 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.6988, allocations: 12.12 kB / 0.7908 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.6988, allocations: 0 / 0.7908 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008421/0.7072, allocations: 1.538 MB / 0.7923 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005116/0.7078, allocations: 103.8 kB / 0.7924 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/0.7189, allocations: 6.529 MB / 0.7987 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008289/0.7198, allocations: 37.91 kB / 0.7988 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.131e-05/0.7199, allocations: 47.92 kB / 0.7988 GB, free: 3.363 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.0003492/0.7202, allocations: 209.6 kB / 0.799 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.7204, allocations: 86.97 kB / 0.7991 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005003/0.7254, allocations: 1.672 MB / 0.8007 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.7254, allocations: 4 kB / 0.8007 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.7254, allocations: 4 kB / 0.8007 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.7254, allocations: 7.953 kB / 0.8008 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005416/0.7309, allocations: 2.481 MB / 0.8032 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.7309, allocations: 4 kB / 0.8032 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004315/0.7313, allocations: 91.83 kB / 0.8033 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002951/0.7343, allocations: 0.6582 MB / 0.8039 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.663e-05/0.7344, allocations: 20 kB / 0.8039 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006179/0.7406, allocations: 4.419 MB / 0.8082 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.7406, allocations: 0 / 0.8082 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004948/0.7455, allocations: 2.085 MB / 0.8103 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/0.746, allocations: 235.9 kB / 0.8105 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.7461, allocations: 16.98 kB / 0.8105 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005411/0.7467, allocations: 31.92 kB / 0.8105 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.7469, allocations: 52.45 kB / 0.8106 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.971e-05/0.7469, allocations: 23.98 kB / 0.8106 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006282/0.7476, allocations: 0.4912 MB / 0.8111 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.684e-06/0.7476, allocations: 0 / 0.8111 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000945/0.7485, allocations: 291.8 kB / 0.8114 GB, free: 6.07 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.005453/0.754, allocations: 2.749 MB / 0.8141 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003094/0.7571, allocations: 1.386 MB / 0.8154 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.7571, allocations: 0 / 0.8154 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00174/0.7589, allocations: 0.8875 MB / 0.8163 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/0.7611, allocations: 437.8 kB / 0.8167 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01802/0.7792, allocations: 7.006 MB / 0.8235 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/0.7798, allocations: 0.9827 MB / 0.8245 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009558/0.7808, allocations: 170.7 kB / 0.8247 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004654/0.7813, allocations: 283.3 kB / 0.8249 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of SimCode: time 7.61e-07/0.7813, allocations: 0 / 0.8249 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0522/0.8335, allocations: 28.07 MB / 0.8524 GB, free: 12.29 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/0.8337, allocations: 235.4 kB / 0.8526 GB, free: 12.05 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.533/3.366, allocations: 4.062 kB / 0.8526 GB, free: 12.04 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) Environment - environmentSimulation: