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: translateModel(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 113.4 kB / 16.37 MB, free: 6.34 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.001187/0.001187, allocations: 186 kB / 17.3 MB, free: 5.898 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.755/0.755, allocations: 132.2 MB / 423.4 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 74.3 kB / 0.5819 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1304, allocations: 80.21 MB / 0.6603 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002011/0.1324, allocations: 1.25 MB / 0.6615 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002672/0.1327, allocations: 119.8 kB / 0.6616 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.1327, allocations: 4 kB / 0.6616 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.29e-05/0.1328, allocations: 4 kB / 0.6616 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.65e-05/0.1328, allocations: 3.938 kB / 0.6616 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.133, allocations: 47.88 kB / 0.6617 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.579e-05/0.1331, allocations: 7.938 kB / 0.6617 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.1331, allocations: 4 kB / 0.6617 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.815e-05/0.1332, allocations: 3.938 kB / 0.6617 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.613e-05/0.1332, allocations: 11.92 kB / 0.6617 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1332, allocations: 4 kB / 0.6617 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.1334, allocations: 51.94 kB / 0.6617 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.1334, allocations: 4 kB / 0.6618 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.1334, allocations: 11.92 kB / 0.6618 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.301e-05/0.1335, allocations: 31.95 kB / 0.6618 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1335, allocations: 0 / 0.6618 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1335, allocations: 0 / 0.6618 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.1335, allocations: 0 / 0.6618 GB, free: 8.762 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003417/0.1339, allocations: 335.5 kB / 0.6621 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1339, allocations: 16.03 kB / 0.6621 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.134, allocations: 4.875 kB / 0.6621 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.1341, allocations: 164.3 kB / 0.6623 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.1341, allocations: 4.375 kB / 0.6623 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.1341, allocations: 4.359 kB / 0.6623 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.198e-05/0.1342, allocations: 33.64 kB / 0.6623 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.1342, allocations: 0 / 0.6623 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.1342, allocations: 0 / 0.6623 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1342, allocations: 3.938 kB / 0.6623 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.703e-05/0.1342, allocations: 11.94 kB / 0.6623 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.1344, allocations: 153.7 kB / 0.6625 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.033e-05/0.1344, allocations: 22.58 kB / 0.6625 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.675e-05/0.1345, allocations: 8.922 kB / 0.6625 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006544/0.1351, allocations: 0.6051 MB / 0.6631 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.1352, allocations: 42.56 kB / 0.6632 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.1352, allocations: 0 / 0.6632 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001163/0.1353, allocations: 37.64 kB / 0.6632 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.1353, allocations: 55.39 kB / 0.6632 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.35e-05/0.1354, allocations: 97.86 kB / 0.6633 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.1354, allocations: 25.7 kB / 0.6634 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.668e-05/0.1354, allocations: 84.14 kB / 0.6634 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.1355, allocations: 3.906 kB / 0.6634 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.1355, allocations: 17.84 kB / 0.6635 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1356, allocations: 318.8 kB / 0.6638 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.129e-05/0.1356, allocations: 0 / 0.6638 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.689e-06/0.1356, allocations: 4 kB / 0.6638 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.64e-05/0.1357, allocations: 12.86 kB / 0.6638 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.1357, allocations: 0 / 0.6638 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.736e-05/0.1357, allocations: 45.56 kB / 0.6638 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.1358, allocations: 8 kB / 0.6638 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.1358, allocations: 4.094 kB / 0.6638 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1358, allocations: 0 / 0.6638 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.326e-05/0.1358, allocations: 8 kB / 0.6638 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.1358, allocations: 0 / 0.6638 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.1359, allocations: 3.938 kB / 0.6638 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1359, allocations: 4 kB / 0.6639 GB, free: 6.301 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 (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 7.164e-05/0.136, allocations: 110.7 kB / 0.664 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/0.136, allocations: 7.938 kB / 0.664 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.569e-05/0.1361, allocations: 52.94 kB / 0.664 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1361, allocations: 3.984 kB / 0.664 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.1361, allocations: 0 / 0.664 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.1361, allocations: 0 / 0.664 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.47e-05/0.1362, allocations: 157.7 kB / 0.6642 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1362, allocations: 3.938 kB / 0.6642 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.182e-05/0.1362, allocations: 4 kB / 0.6642 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.1362, allocations: 0 / 0.6642 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.1362, allocations: 0 / 0.6642 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.1362, allocations: 0 / 0.6642 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1362, allocations: 0 / 0.6642 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.61e-05/0.1363, allocations: 73.06 kB / 0.6642 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.1364, allocations: 88.92 kB / 0.6643 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-06/0.1364, allocations: 0 / 0.6643 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.623e-05/0.1364, allocations: 0 / 0.6643 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.1364, allocations: 7.984 kB / 0.6643 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.1364, allocations: 0 / 0.6643 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.132e-05/0.1365, allocations: 79.28 kB / 0.6644 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1365, allocations: 4.031 kB / 0.6644 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001912/0.1367, allocations: 12 kB / 0.6644 GB, free: 5.602 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 (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.0001493/0.1368, allocations: 115.2 kB / 0.6645 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.108e-05/0.1369, allocations: 4 kB / 0.6645 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1369, allocations: 0 / 0.6645 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.996e-06/0.1369, allocations: 4 kB / 0.6645 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.1371, allocations: 17.64 kB / 0.6646 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002211/0.1374, allocations: 135.8 kB / 0.6647 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.1376, allocations: 0.6768 MB / 0.6654 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.538e-05/0.1376, allocations: 7.438 kB / 0.6654 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1376, allocations: 4 kB / 0.6654 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of Templates: time 0.0018/0.1394, allocations: 0.6181 MB / 0.666 GB, free: 3.961 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (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 & ./IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)