Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.BaseClasses.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.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_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.004328/0.004328, allocations: 100.4 kB / 15.73 MB, free: 6.023 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.001016/0.001016, allocations: 192.9 kB / 16.67 MB, free: 5.957 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7366/0.7366, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 67.89 kB / 0.5809 GB, free: 8.062 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3687, allocations: 80.19 MB / 0.6592 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002261/0.371, allocations: 1.26 MB / 0.6604 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002868/0.3713, allocations: 118.2 kB / 0.6605 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.813e-05/0.3713, allocations: 0 / 0.6605 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.803e-05/0.3713, allocations: 0.5156 kB / 0.6605 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.328e-05/0.3714, allocations: 9.922 kB / 0.6605 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.3716, allocations: 38.59 kB / 0.6606 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.164e-05/0.3717, allocations: 14.88 kB / 0.6606 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.3717, allocations: 7.344 kB / 0.6606 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.886e-05/0.3718, allocations: 3.406 kB / 0.6606 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.718e-05/0.3718, allocations: 4.062 kB / 0.6606 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.3718, allocations: 1.375 kB / 0.6606 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.372, allocations: 54.94 kB / 0.6607 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.372, allocations: 5.969 kB / 0.6607 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.372, allocations: 7.453 kB / 0.6607 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.3721, allocations: 41.16 kB / 0.6607 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3721, allocations: 0.7969 kB / 0.6607 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3721, allocations: 0 / 0.6607 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.3722, allocations: 1.375 kB / 0.6607 GB, free: 8.836 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002885/0.3724, allocations: 331.2 kB / 0.661 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.3725, allocations: 9.625 kB / 0.661 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.305e-05/0.3725, allocations: 35.27 kB / 0.6611 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.337e-05/0.3725, allocations: 6.219 kB / 0.6611 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.479e-05/0.3726, allocations: 167.7 kB / 0.6612 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.3727, allocations: 384 / 0.6612 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.3727, allocations: 9.484 kB / 0.6612 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.455e-05/0.3727, allocations: 31.33 kB / 0.6613 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.3727, allocations: 3.938 kB / 0.6613 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.3728, allocations: 0.6562 kB / 0.6613 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3728, allocations: 0 / 0.6613 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.641e-05/0.3728, allocations: 8.641 kB / 0.6613 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001038/0.3729, allocations: 158.5 kB / 0.6614 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.976e-05/0.373, allocations: 24.73 kB / 0.6615 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.538e-05/0.373, allocations: 12.3 kB / 0.6615 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005223/0.3735, allocations: 0.6019 MB / 0.6621 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.3735, allocations: 40.61 kB / 0.6621 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3735, allocations: 0 / 0.6621 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001197/0.3737, allocations: 41.2 kB / 0.6621 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.826e-05/0.3737, allocations: 52.69 kB / 0.6622 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.535e-05/0.3737, allocations: 99.33 kB / 0.6623 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.161e-06/0.3737, allocations: 27.2 kB / 0.6623 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.286e-05/0.3738, allocations: 80.94 kB / 0.6624 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.3738, allocations: 5.734 kB / 0.6624 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/0.3738, allocations: 16.5 kB / 0.6624 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.675e-05/0.3739, allocations: 316.3 kB / 0.6627 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.117e-05/0.3739, allocations: 2.844 kB / 0.6627 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.218e-06/0.3739, allocations: 2.125 kB / 0.6627 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.524e-05/0.3739, allocations: 23.12 kB / 0.6627 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3739, allocations: 0 / 0.6627 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.369e-05/0.374, allocations: 45.05 kB / 0.6628 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.374, allocations: 5.469 kB / 0.6628 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.374, allocations: 4.703 kB / 0.6628 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.374, allocations: 0 / 0.6628 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.41e-05/0.3741, allocations: 7.516 kB / 0.6628 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.3741, allocations: 1.5 kB / 0.6628 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.801e-05/0.3741, allocations: 4.797 kB / 0.6628 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.3741, allocations: 1.156 kB / 0.6628 GB, free: 6.523 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/0.3742, allocations: 107.8 kB / 0.6629 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-06/0.3742, allocations: 5 kB / 0.6629 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.963e-05/0.3742, allocations: 52.73 kB / 0.663 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3743, allocations: 0.6094 kB / 0.663 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3743, allocations: 0 / 0.663 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3743, allocations: 1.531 kB / 0.663 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.885e-05/0.3743, allocations: 159.3 kB / 0.6631 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3743, allocations: 1.062 kB / 0.6631 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.197e-05/0.3744, allocations: 2.812 kB / 0.6631 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3744, allocations: 1.281 kB / 0.6631 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.3744, allocations: 0.6094 kB / 0.6631 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3744, allocations: 1.375 kB / 0.6631 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3744, allocations: 4.734 kB / 0.6631 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.818e-05/0.3745, allocations: 68.91 kB / 0.6632 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.3745, allocations: 77.86 kB / 0.6633 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.3745, allocations: 2.281 kB / 0.6633 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.58e-05/0.3745, allocations: 0 / 0.6633 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.3745, allocations: 1.938 kB / 0.6633 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.3745, allocations: 1.281 kB / 0.6633 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.001e-05/0.3746, allocations: 83.88 kB / 0.6634 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3746, allocations: 4.031 kB / 0.6634 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002182/0.3748, allocations: 20.45 kB / 0.6634 GB, free: 5.895 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002596/0.3751, allocations: 0.6075 MB / 0.664 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.438e-05/0.3751, allocations: 9.266 kB / 0.664 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3751, allocations: 4.062 kB / 0.664 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-05/0.3752, allocations: 15.5 kB / 0.664 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.3754, allocations: 8.25 kB / 0.664 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006886/0.3761, allocations: 1.105 MB / 0.6651 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.86e-05/0.3762, allocations: 0.6736 MB / 0.6657 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.761e-05/0.3762, allocations: 6.969 kB / 0.6657 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.3763, allocations: 12.5 kB / 0.6658 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.3763, allocations: 0 / 0.6658 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.3941, allocations: 1.43 MB / 0.6672 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.048/7.442, allocations: 5.938 kB / 0.6672 GB, free: 2.867 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)