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.001393/0.001393, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001259/0.001259, allocations: 196.2 kB / 16.14 MB, free: 6.672 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.244/1.244, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7225/0.7225, allocations: 132.2 MB / 422.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 63 kB / 0.5012 GB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3473, allocations: 80.19 MB / 0.5795 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002061/0.3494, allocations: 1.326 MB / 0.5808 GB, free: 3.641 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002781/0.3497, allocations: 130.6 kB / 0.5809 GB, free: 3.555 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.337e-05/0.3497, allocations: 1.344 kB / 0.5809 GB, free: 3.555 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.796e-05/0.3497, allocations: 0.7031 kB / 0.5809 GB, free: 3.555 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.014e-05/0.3498, allocations: 5.484 kB / 0.5809 GB, free: 3.551 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.3499, allocations: 27.86 kB / 0.5809 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.951e-05/0.35, allocations: 16.39 kB / 0.581 GB, free: 3.531 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.568e-05/0.35, allocations: 1.969 kB / 0.581 GB, free: 3.531 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.743e-05/0.35, allocations: 4.375 kB / 0.581 GB, free: 3.531 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.756e-05/0.3501, allocations: 8.203 kB / 0.581 GB, free: 3.527 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.3501, allocations: 1.094 kB / 0.581 GB, free: 3.527 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.3502, allocations: 51.19 kB / 0.581 GB, free: 3.516 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.3503, allocations: 5.625 kB / 0.581 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.001e-05/0.3503, allocations: 2.312 kB / 0.581 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.3504, allocations: 50.19 kB / 0.5811 GB, free: 3.488 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3504, allocations: 0.6094 kB / 0.5811 GB, free: 3.488 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3504, allocations: 1.562 kB / 0.5811 GB, free: 3.488 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.3504, allocations: 0 / 0.5811 GB, free: 3.488 MB / 430.1 MB 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.000264/0.3507, allocations: 326.5 kB / 0.5814 GB, free: 3.137 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.3507, allocations: 10.28 kB / 0.5814 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.039e-05/0.3508, allocations: 34.75 kB / 0.5814 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.977e-05/0.3508, allocations: 6.953 kB / 0.5814 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.229e-05/0.3509, allocations: 166.8 kB / 0.5816 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.3509, allocations: 5.062 kB / 0.5816 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.3509, allocations: 1.562 kB / 0.5816 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.32e-05/0.351, allocations: 36.88 kB / 0.5816 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.351, allocations: 0 / 0.5816 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.351, allocations: 1.562 kB / 0.5816 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.351, allocations: 1.156 kB / 0.5816 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.819e-05/0.351, allocations: 7.281 kB / 0.5817 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.955e-05/0.3511, allocations: 155.9 kB / 0.5818 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.299e-05/0.3512, allocations: 25.16 kB / 0.5818 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.3512, allocations: 7.734 kB / 0.5818 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005984/0.3518, allocations: 0.6101 MB / 0.5824 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.3518, allocations: 32.17 kB / 0.5825 GB, free: 1.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.3518, allocations: 1.062 kB / 0.5825 GB, free: 1.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001245/0.352, allocations: 48.94 kB / 0.5825 GB, free: 1.867 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.808e-05/0.352, allocations: 52.28 kB / 0.5826 GB, free: 1.805 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.596e-05/0.352, allocations: 104.1 kB / 0.5827 GB, free: 1.699 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.52e-06/0.3521, allocations: 25.7 kB / 0.5827 GB, free: 1.668 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.32e-05/0.3521, allocations: 82.27 kB / 0.5828 GB, free: 1.586 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.3521, allocations: 5.422 kB / 0.5828 GB, free: 1.582 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.3521, allocations: 16.19 kB / 0.5828 GB, free: 1.562 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.71e-05/0.3522, allocations: 317.5 kB / 0.5831 GB, free: 1.246 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.281e-05/0.3522, allocations: 1.844 kB / 0.5831 GB, free: 1.246 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.074e-05/0.3522, allocations: 3.25 kB / 0.5831 GB, free: 1.246 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.755e-05/0.3522, allocations: 15.02 kB / 0.5831 GB, free: 1.234 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3522, allocations: 0 / 0.5831 GB, free: 1.234 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.561e-05/0.3523, allocations: 47.2 kB / 0.5832 GB, free: 1.191 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3523, allocations: 7.547 kB / 0.5832 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3523, allocations: 0.9375 kB / 0.5832 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.3523, allocations: 4.094 kB / 0.5832 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.99e-05/0.3524, allocations: 4.047 kB / 0.5832 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3524, allocations: 4.547 kB / 0.5832 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.906e-05/0.3524, allocations: 1.031 kB / 0.5832 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.3524, allocations: 1.219 kB / 0.5832 GB, free: 1.184 MB / 430.1 MB 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.872e-05/0.3525, allocations: 111.6 kB / 0.5833 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-06/0.3525, allocations: 4.75 kB / 0.5833 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.235e-05/0.3526, allocations: 49.73 kB / 0.5833 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3526, allocations: 8.031 kB / 0.5833 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3526, allocations: 1.188 kB / 0.5833 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3526, allocations: 0.5625 kB / 0.5833 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.4e-05/0.3527, allocations: 148.5 kB / 0.5835 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3527, allocations: 4.594 kB / 0.5835 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/0.3527, allocations: 6.75 kB / 0.5835 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3527, allocations: 4.5 kB / 0.5835 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.3527, allocations: 1.375 kB / 0.5835 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3527, allocations: 0.8438 kB / 0.5835 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3527, allocations: 1.375 kB / 0.5835 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.754e-05/0.3528, allocations: 69.14 kB / 0.5836 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/0.3528, allocations: 81.61 kB / 0.5836 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.3528, allocations: 1.938 kB / 0.5836 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.7e-05/0.3529, allocations: 0 / 0.5836 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.3529, allocations: 5.875 kB / 0.5837 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.3529, allocations: 2.125 kB / 0.5837 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.797e-05/0.3529, allocations: 78.83 kB / 0.5837 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3529, allocations: 4.031 kB / 0.5837 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001988/0.3531, allocations: 16.48 kB / 0.5837 GB, free: 0.5547 MB / 430.1 MB 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.0002718/0.3534, allocations: 0.62 MB / 0.5844 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.807e-05/0.3535, allocations: 8.234 kB / 0.5844 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3535, allocations: 8.031 kB / 0.5844 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.251e-05/0.3535, allocations: 4.828 kB / 0.5844 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.3537, allocations: 9.156 kB / 0.5844 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008688/0.3546, allocations: 1.079 MB / 0.5854 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.3549, allocations: 0.6749 MB / 0.5861 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.023e-05/0.3549, allocations: 2.844 kB / 0.5861 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/0.3549, allocations: 20.59 kB / 0.5861 GB, free: 14.12 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3549, allocations: 0 / 0.5861 GB, free: 14.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.3789, allocations: 1.269 MB / 0.5874 GB, free: 13.91 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002706/0.3792, allocations: 196.1 kB / 0.5875 GB, free: 13.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.322, allocations: 4.719 kB / 0.5875 GB, free: 13.65 MB / 446.1 MB (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)