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.007179/0.007179, allocations: 171.4 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7655/0.7655, allocations: 135.2 MB / 151 MB, free: 13.83 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.482/1.482, allocations: 223.2 MB / 406.8 MB, free: 3.215 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 98.7 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003386, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3744, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.141/0.5154, allocations: 111.5 MB / 0.7584 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.5157, allocations: 79.94 kB / 0.7585 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005294/0.521, allocations: 1.825 MB / 0.7603 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.344e-06/0.5211, allocations: 0 / 0.7603 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.5211, allocations: 4 kB / 0.7603 GB, free: 2.547 MB / 0.5261 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.0003991/0.5215, allocations: 351.2 kB / 0.7606 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.5216, allocations: 12.03 kB / 0.7606 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.5216, allocations: 38.56 kB / 0.7607 GB, free: 2.098 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.5217, allocations: 3.906 kB / 0.7607 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.5218, allocations: 171 kB / 0.7608 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.5218, allocations: 0 / 0.7608 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.5218, allocations: 0 / 0.7608 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.522, allocations: 41.69 kB / 0.7609 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.522, allocations: 0 / 0.7609 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.522, allocations: 0 / 0.7609 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.522, allocations: 0 / 0.7609 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.712e-05/0.5221, allocations: 19.92 kB / 0.7609 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.5222, allocations: 161.7 kB / 0.7611 GB, free: 1.613 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.099e-05/0.5223, allocations: 38.5 kB / 0.7611 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009939/0.5233, allocations: 1.171 MB / 0.7622 GB, free: 140 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.5234, allocations: 38.56 kB / 0.7623 GB, free: 92 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.5234, allocations: 0 / 0.7623 GB, free: 92 kB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0001659/0.5236, allocations: 57.58 kB / 0.7623 GB, free: 28 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/0.5237, allocations: 55.34 kB / 0.7624 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.366e-05/0.5237, allocations: 101 kB / 0.7625 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.5238, allocations: 25.7 kB / 0.7625 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.238e-05/0.5238, allocations: 80.14 kB / 0.7626 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.5238, allocations: 7.844 kB / 0.7626 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-06/0.5238, allocations: 4 kB / 0.7626 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.524, allocations: 322.8 kB / 0.7629 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.33e-05/0.524, allocations: 0 / 0.7629 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.172e-05/0.524, allocations: 4 kB / 0.7629 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.027e-05/0.524, allocations: 4 kB / 0.7629 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.524, allocations: 0 / 0.7629 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.732e-05/0.5241, allocations: 49.64 kB / 0.763 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.5241, allocations: 4 kB / 0.763 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5241, allocations: 0 / 0.763 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.5242, allocations: 4 kB / 0.763 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.5242, allocations: 15.94 kB / 0.763 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.5242, allocations: 0 / 0.763 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.175e-05/0.5243, allocations: 3.984 kB / 0.763 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.5243, allocations: 4 kB / 0.763 GB, free: 15.31 MB / 0.5417 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 (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 8.268e-05/0.5244, allocations: 109.8 kB / 0.7631 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.5244, allocations: 7.859 kB / 0.7631 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.5245, allocations: 61.59 kB / 0.7632 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.5245, allocations: 0 / 0.7632 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5246, allocations: 0 / 0.7632 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5246, allocations: 0 / 0.7632 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.5247, allocations: 161.7 kB / 0.7633 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.5247, allocations: 0 / 0.7633 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.574e-05/0.5247, allocations: 4 kB / 0.7633 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.5247, allocations: 3.953 kB / 0.7633 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.5248, allocations: 3.938 kB / 0.7633 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.5248, allocations: 4 kB / 0.7633 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5248, allocations: 7.938 kB / 0.7633 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.728e-05/0.5249, allocations: 65.12 kB / 0.7634 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-05/0.5249, allocations: 93 kB / 0.7635 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.525, allocations: 3.953 kB / 0.7635 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.217e-05/0.525, allocations: 3.938 kB / 0.7635 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.525, allocations: 4 kB / 0.7635 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.525, allocations: 0 / 0.7635 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.804e-05/0.5251, allocations: 91.27 kB / 0.7636 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5251, allocations: 0 / 0.7636 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002348/0.5253, allocations: 31.94 kB / 0.7636 GB, free: 14.56 MB / 0.5417 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 (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.0004938/0.5258, allocations: 0.6362 MB / 0.7642 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.65e-05/0.5259, allocations: 16.03 kB / 0.7642 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5259, allocations: 4 kB / 0.7642 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.92e-05/0.526, allocations: 16.02 kB / 0.7643 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.5261, allocations: 7.953 kB / 0.7643 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.5266, allocations: 177.9 kB / 0.7644 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.5268, allocations: 0.6809 MB / 0.7651 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.804e-05/0.5269, allocations: 8 kB / 0.7651 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.5269, allocations: 11.44 kB / 0.7651 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.5269, allocations: 3.938 kB / 0.7651 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08286/0.6098, allocations: 1.389 MB / 0.7665 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/0.6101, allocations: 174 kB / 0.7667 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.52/2.13, allocations: 2.625 kB / 0.7667 GB, free: 11.41 MB / 0.5417 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)