Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_dev_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.008751/0.00875, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8196/0.8196, allocations: 135.2 MB / 151 MB, free: 13.81 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.65/1.65, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.0009576/0.0009576, allocations: 96.22 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003047/0.0003046, allocations: 12 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3316, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.4602, allocations: 111.5 MB / 0.7584 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.4604, allocations: 83.94 kB / 0.7585 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005081/0.4655, allocations: 1.813 MB / 0.7603 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4655, allocations: 3.938 kB / 0.7603 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.4656, allocations: 0 / 0.7603 GB, free: 2.555 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.0003046/0.4659, allocations: 359.2 kB / 0.7606 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.4659, allocations: 8.031 kB / 0.7606 GB, free: 2.148 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.935e-05/0.466, allocations: 30.56 kB / 0.7607 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.466, allocations: 15.91 kB / 0.7607 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.4661, allocations: 171 kB / 0.7609 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.4661, allocations: 4 kB / 0.7609 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.4661, allocations: 0 / 0.7609 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.157e-05/0.4662, allocations: 29.7 kB / 0.7609 GB, free: 1.848 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.4663, allocations: 0 / 0.7609 GB, free: 1.848 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.4663, allocations: 12 kB / 0.7609 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.4663, allocations: 3.984 kB / 0.7609 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.478e-05/0.4663, allocations: 4 kB / 0.7609 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.4665, allocations: 165.6 kB / 0.7611 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.726e-05/0.4666, allocations: 38.55 kB / 0.7611 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009707/0.4675, allocations: 1.167 MB / 0.7622 GB, free: 148 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.4676, allocations: 34.55 kB / 0.7623 GB, free: 104 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.4676, allocations: 8 kB / 0.7623 GB, free: 96 kB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0001381/0.4677, allocations: 53.59 kB / 0.7623 GB, free: 36 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.4678, allocations: 59.33 kB / 0.7624 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.775e-05/0.4679, allocations: 97 kB / 0.7625 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.4679, allocations: 25.7 kB / 0.7625 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.4679, allocations: 84.14 kB / 0.7626 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.468, allocations: 11.83 kB / 0.7626 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.468, allocations: 0 / 0.7626 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.4681, allocations: 318.8 kB / 0.7629 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.4681, allocations: 4 kB / 0.7629 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.059e-05/0.4681, allocations: 4 kB / 0.7629 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.839e-05/0.4681, allocations: 4 kB / 0.7629 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4682, allocations: 0 / 0.7629 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.093e-05/0.4682, allocations: 49.64 kB / 0.763 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.4682, allocations: 4 kB / 0.763 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.4683, allocations: 0 / 0.763 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.4683, allocations: 0 / 0.763 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.379e-05/0.4683, allocations: 11.92 kB / 0.763 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.4683, allocations: 4 kB / 0.763 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.952e-05/0.4684, allocations: 4 kB / 0.763 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.4684, allocations: 0 / 0.763 GB, free: 15.32 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 6.755e-05/0.4685, allocations: 110.5 kB / 0.7631 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.4685, allocations: 11.86 kB / 0.7631 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.4686, allocations: 53.59 kB / 0.7631 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4686, allocations: 11.94 kB / 0.7632 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4686, allocations: 3.984 kB / 0.7632 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.4686, allocations: 0 / 0.7632 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.4688, allocations: 153.7 kB / 0.7633 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.4688, allocations: 0 / 0.7633 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.911e-05/0.4688, allocations: 8 kB / 0.7633 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4688, allocations: 7.891 kB / 0.7633 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.4688, allocations: 0 / 0.7633 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4688, allocations: 0 / 0.7633 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4688, allocations: 3.938 kB / 0.7633 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.503e-05/0.4689, allocations: 73.12 kB / 0.7634 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/0.469, allocations: 85 kB / 0.7635 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.469, allocations: 11.95 kB / 0.7635 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.084e-05/0.4691, allocations: 0 / 0.7635 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.121e-05/0.4691, allocations: 0 / 0.7635 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.4691, allocations: 4 kB / 0.7635 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.894e-05/0.4691, allocations: 87.56 kB / 0.7636 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4692, allocations: 0 / 0.7636 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000214/0.4694, allocations: 39.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.0004404/0.4698, allocations: 0.6362 MB / 0.7642 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.963e-05/0.4699, allocations: 12.03 kB / 0.7642 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4699, allocations: 0 / 0.7642 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.987e-05/0.4699, allocations: 16.02 kB / 0.7643 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.4701, allocations: 11.95 kB / 0.7643 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003642/0.4705, allocations: 180.2 kB / 0.7644 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.4707, allocations: 0.6809 MB / 0.7651 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.796e-05/0.4708, allocations: 12 kB / 0.7651 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.4708, allocations: 7.438 kB / 0.7651 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of SimCode: time 2.7e-07/0.4708, allocations: 3.938 kB / 0.7651 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01107/0.4819, allocations: 1.376 MB / 0.7665 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.4821, allocations: 185.4 kB / 0.7667 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.44/1.922, allocations: 0 / 0.7667 GB, free: 11.43 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)