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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007923/0.007924, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001499/0.001499, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9121/0.9121, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 59.91 kB / 0.5856 GB, free: 3.398 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4663/0.4675, allocations: 80.92 MB / 0.6647 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002186/0.4697, allocations: 1.287 MB / 0.6659 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005409/0.4703, allocations: 301.7 kB / 0.6662 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.399e-05/0.4703, allocations: 1.406 kB / 0.6662 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.4704, allocations: 0 / 0.6662 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.4705, allocations: 21.14 kB / 0.6662 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.4708, allocations: 71.08 kB / 0.6663 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.053e-05/0.4709, allocations: 37.69 kB / 0.6663 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.149e-05/0.4709, allocations: 6.375 kB / 0.6663 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.4711, allocations: 32.61 kB / 0.6664 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.212e-05/0.4711, allocations: 12.64 kB / 0.6664 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.4711, allocations: 1.219 kB / 0.6664 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.4713, allocations: 87.09 kB / 0.6665 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.4713, allocations: 5.156 kB / 0.6665 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.4714, allocations: 16.17 kB / 0.6665 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.4715, allocations: 75.95 kB / 0.6665 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4715, allocations: 0 / 0.6665 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4716, allocations: 4 kB / 0.6665 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.4716, allocations: 0 / 0.6665 GB, free: 6.137 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003281/0.4719, allocations: 353.8 kB / 0.6669 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.4719, allocations: 13.25 kB / 0.6669 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.472, allocations: 2.25 kB / 0.6669 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.901e-05/0.4721, allocations: 170.7 kB / 0.6671 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.4721, allocations: 1.469 kB / 0.6671 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.4721, allocations: 1.656 kB / 0.6671 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.096e-05/0.4722, allocations: 46.59 kB / 0.6671 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.4722, allocations: 5.203 kB / 0.6671 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.4722, allocations: 0 / 0.6671 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4722, allocations: 1.531 kB / 0.6671 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.48e-05/0.4723, allocations: 17.95 kB / 0.6671 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.4724, allocations: 155.7 kB / 0.6673 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.491e-05/0.4725, allocations: 30.14 kB / 0.6673 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.4725, allocations: 9.203 kB / 0.6673 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008126/0.4733, allocations: 1.188 MB / 0.6685 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.4733, allocations: 32.22 kB / 0.6685 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.4733, allocations: 3.938 kB / 0.6685 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000149/0.4735, allocations: 56.59 kB / 0.6686 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.928e-05/0.4735, allocations: 51.41 kB / 0.6686 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.154e-05/0.4736, allocations: 119 kB / 0.6687 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.4736, allocations: 26.95 kB / 0.6688 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.455e-05/0.4736, allocations: 84.12 kB / 0.6688 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.4736, allocations: 5.188 kB / 0.6688 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.4737, allocations: 18.69 kB / 0.6689 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.01e-05/0.4737, allocations: 310.8 kB / 0.6692 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.656e-05/0.4738, allocations: 11.69 kB / 0.6692 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.36e-05/0.4738, allocations: 6.328 kB / 0.6692 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.482e-05/0.4738, allocations: 20.7 kB / 0.6692 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4738, allocations: 0 / 0.6692 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.394e-05/0.4739, allocations: 50.12 kB / 0.6692 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.4739, allocations: 5.344 kB / 0.6692 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.4739, allocations: 0 / 0.6692 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.4739, allocations: 1.406 kB / 0.6692 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.899e-05/0.474, allocations: 4.062 kB / 0.6693 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.474, allocations: 4 kB / 0.6693 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.713e-05/0.474, allocations: 1.312 kB / 0.6693 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.474, allocations: 1.5 kB / 0.6693 GB, free: 3.102 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 (3): * Single equations (assignments): 3 * 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 4.674e-05/0.4741, allocations: 114 kB / 0.6694 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.4741, allocations: 10.34 kB / 0.6694 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.4742, allocations: 63.8 kB / 0.6694 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.4742, allocations: 4.969 kB / 0.6694 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4742, allocations: 0 / 0.6694 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.4742, allocations: 1.562 kB / 0.6694 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.489e-05/0.4743, allocations: 163.5 kB / 0.6696 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.4743, allocations: 3.938 kB / 0.6696 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.643e-05/0.4743, allocations: 5.156 kB / 0.6696 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.4744, allocations: 0 / 0.6696 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.4744, allocations: 5.203 kB / 0.6696 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4744, allocations: 0 / 0.6696 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4744, allocations: 5.516 kB / 0.6696 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.564e-05/0.4745, allocations: 74.53 kB / 0.6697 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.4745, allocations: 91.2 kB / 0.6698 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.4745, allocations: 5.438 kB / 0.6698 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.748e-05/0.4746, allocations: 5.172 kB / 0.6698 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.4746, allocations: 1.094 kB / 0.6698 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.4746, allocations: 1.5 kB / 0.6698 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.056e-05/0.4746, allocations: 84.91 kB / 0.6699 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4746, allocations: 1.094 kB / 0.6699 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002148/0.4749, allocations: 32.17 kB / 0.6699 GB, free: 2.418 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 (3): * Single equations (assignments): 3 * 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.0001847/0.4751, allocations: 123.7 kB / 0.67 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.286e-05/0.4752, allocations: 18.41 kB / 0.67 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.4752, allocations: 0 / 0.67 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.827e-05/0.4752, allocations: 14.77 kB / 0.6701 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.4754, allocations: 9.719 kB / 0.6701 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.4757, allocations: 120.4 kB / 0.6702 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.4758, allocations: 0.6829 MB / 0.6708 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.592e-05/0.4758, allocations: 3.344 kB / 0.6708 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.4758, allocations: 13.72 kB / 0.6709 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4759, allocations: 0 / 0.6709 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of Templates: time 0.002819/0.4787, allocations: 0.7931 MB / 0.6716 GB, free: 1.055 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (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 & ./IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)