Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7748/0.7748, allocations: 133.4 MB / 146.7 MB, free: 10.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 221.3 MB / 400.4 MB, free: 5.812 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000886/0.000886, allocations: 99.73 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.656e-05/4.684e-05, allocations: 4.219 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1627, allocations: 82.3 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5692/0.732, allocations: 111.4 MB / 0.7493 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.7322, allocations: 83.25 kB / 0.7494 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.005497/0.7378, allocations: 1.815 MB / 0.7512 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7378, allocations: 0 / 0.7512 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.7379, allocations: 3.938 kB / 0.7512 GB, free: 27.56 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004978/0.7384, allocations: 355.1 kB / 0.7515 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/0.7384, allocations: 7.531 kB / 0.7515 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.284e-05/0.7385, allocations: 37.3 kB / 0.7516 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.7386, allocations: 4 kB / 0.7516 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.7387, allocations: 170.3 kB / 0.7517 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.7387, allocations: 0 / 0.7517 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.7387, allocations: 0 / 0.7517 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.7389, allocations: 39.69 kB / 0.7518 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.7389, allocations: 0 / 0.7518 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.7389, allocations: 0 / 0.7518 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.7389, allocations: 0 / 0.7518 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.403e-05/0.739, allocations: 10.16 kB / 0.7518 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/0.7391, allocations: 164 kB / 0.7519 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.114e-05/0.7392, allocations: 35.88 kB / 0.752 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.521e-05/0.7393, allocations: 11.7 kB / 0.752 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009577/0.7402, allocations: 1.172 MB / 0.7531 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.7403, allocations: 36.91 kB / 0.7532 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.7403, allocations: 0 / 0.7532 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001642/0.7405, allocations: 54.61 kB / 0.7532 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.7405, allocations: 51.41 kB / 0.7533 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.7406, allocations: 98.27 kB / 0.7534 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.7407, allocations: 25.7 kB / 0.7534 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.7407, allocations: 80.14 kB / 0.7535 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.7407, allocations: 10.91 kB / 0.7535 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-06/0.7407, allocations: 4 kB / 0.7535 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.7409, allocations: 313.4 kB / 0.7538 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.558e-05/0.7409, allocations: 7.062 kB / 0.7538 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.184e-05/0.7409, allocations: 7.875 kB / 0.7538 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.956e-05/0.7409, allocations: 3.844 kB / 0.7538 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.7409, allocations: 3.953 kB / 0.7538 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.473e-05/0.741, allocations: 47.67 kB / 0.7538 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.7411, allocations: 3.875 kB / 0.7539 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.7411, allocations: 3.781 kB / 0.7539 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.7411, allocations: 4 kB / 0.7539 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.416e-05/0.7411, allocations: 7.688 kB / 0.7539 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.7412, allocations: 0.7812 kB / 0.7539 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.977e-05/0.7412, allocations: 7.844 kB / 0.7539 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.7412, allocations: 0 / 0.7539 GB, free: 24.65 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.328e-05/0.7413, allocations: 104.8 kB / 0.754 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.7413, allocations: 3.953 kB / 0.754 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.7414, allocations: 66.22 kB / 0.754 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7414, allocations: 3.938 kB / 0.754 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.7415, allocations: 0 / 0.754 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.7415, allocations: 0 / 0.754 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.7416, allocations: 163.1 kB / 0.7542 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.7416, allocations: 4 kB / 0.7542 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.817e-05/0.7416, allocations: 10.64 kB / 0.7542 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.7416, allocations: 0 / 0.7542 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.7416, allocations: 3.844 kB / 0.7542 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.7417, allocations: 0 / 0.7542 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7417, allocations: 7.938 kB / 0.7542 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.968e-05/0.7417, allocations: 76.31 kB / 0.7543 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.118e-05/0.7418, allocations: 77.11 kB / 0.7544 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.7418, allocations: 6.391 kB / 0.7544 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.67e-05/0.7419, allocations: 3.844 kB / 0.7544 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.257e-05/0.7419, allocations: 0 / 0.7544 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.7419, allocations: 3.812 kB / 0.7544 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.089e-05/0.742, allocations: 93.06 kB / 0.7545 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.742, allocations: 0 / 0.7545 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002225/0.7422, allocations: 34.38 kB / 0.7545 GB, free: 24.03 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004857/0.7427, allocations: 0.6386 MB / 0.7551 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.413e-05/0.7428, allocations: 8 kB / 0.7551 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.7428, allocations: 7.969 kB / 0.7551 GB, free: 23.42 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.377e-05/0.7428, allocations: 10.81 kB / 0.7552 GB, free: 23.42 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.743, allocations: 11.41 kB / 0.7552 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.7433, allocations: 113 kB / 0.7553 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.7435, allocations: 0.6825 MB / 0.7559 GB, free: 22.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.651e-05/0.7436, allocations: 11.83 kB / 0.756 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.7436, allocations: 10.48 kB / 0.756 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/0.7436, allocations: 0 / 0.756 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0126/0.7562, allocations: 1.38 MB / 0.7573 GB, free: 22.42 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/0.7565, allocations: 157.7 kB / 0.7575 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/2.258, allocations: 1.969 kB / 0.7575 GB, free: 22.2 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)