Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001322/0.001322, allocations: 111.4 kB / 16.37 MB, free: 6.344 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.00125/0.00125, allocations: 192.6 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7772/0.7772, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 61.42 kB / 0.5862 GB, free: 21.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1785, allocations: 80.93 MB / 0.6652 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002269/0.1808, allocations: 1.25 MB / 0.6665 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000324/0.1811, allocations: 119.8 kB / 0.6666 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.872e-05/0.1812, allocations: 0 / 0.6666 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.1812, allocations: 7.984 kB / 0.6666 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.458e-05/0.1813, allocations: 7.922 kB / 0.6666 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.1815, allocations: 43.89 kB / 0.6666 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.219e-05/0.1816, allocations: 11.94 kB / 0.6666 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.092e-05/0.1817, allocations: 0 / 0.6666 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.33e-05/0.1817, allocations: 7.938 kB / 0.6666 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.052e-05/0.1817, allocations: 15.91 kB / 0.6667 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.1818, allocations: 0 / 0.6667 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.1819, allocations: 55.94 kB / 0.6667 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.1819, allocations: 0 / 0.6667 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.182, allocations: 11.94 kB / 0.6667 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.1821, allocations: 27.95 kB / 0.6668 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1821, allocations: 0 / 0.6668 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.958e-06/0.1821, allocations: 0 / 0.6668 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.1821, allocations: 7.938 kB / 0.6668 GB, free: 4.258 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.0004242/0.1825, allocations: 339.4 kB / 0.6671 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1826, allocations: 13.05 kB / 0.6671 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.1826, allocations: 8.938 kB / 0.6671 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.1828, allocations: 160.4 kB / 0.6673 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1828, allocations: 384 / 0.6673 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.1828, allocations: 384 / 0.6673 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.276e-05/0.1829, allocations: 37.62 kB / 0.6673 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1829, allocations: 0 / 0.6673 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1829, allocations: 0 / 0.6673 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1829, allocations: 4 kB / 0.6673 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.936e-05/0.183, allocations: 4 kB / 0.6673 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.1831, allocations: 161.6 kB / 0.6675 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.544e-05/0.1832, allocations: 30.55 kB / 0.6675 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.004e-05/0.1832, allocations: 4.859 kB / 0.6675 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007021/0.1839, allocations: 0.6091 MB / 0.6681 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.184, allocations: 34.56 kB / 0.6681 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.184, allocations: 4 kB / 0.6681 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001417/0.1841, allocations: 41.64 kB / 0.6682 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.1842, allocations: 51.41 kB / 0.6682 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.003e-05/0.1842, allocations: 105.8 kB / 0.6683 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.1843, allocations: 25.7 kB / 0.6683 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.926e-05/0.1843, allocations: 80.14 kB / 0.6684 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.1843, allocations: 3.906 kB / 0.6684 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.1844, allocations: 17.72 kB / 0.6684 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1845, allocations: 319 kB / 0.6687 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.539e-05/0.1845, allocations: 8 kB / 0.6687 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-06/0.1845, allocations: 0 / 0.6687 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.921e-05/0.1845, allocations: 16.86 kB / 0.6688 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1846, allocations: 0 / 0.6688 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.826e-05/0.1846, allocations: 41.58 kB / 0.6688 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1846, allocations: 7.984 kB / 0.6688 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1846, allocations: 0 / 0.6688 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1847, allocations: 4.094 kB / 0.6688 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.69e-05/0.1847, allocations: 7.938 kB / 0.6688 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1847, allocations: 0 / 0.6688 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.1848, allocations: 7.938 kB / 0.6688 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.1848, allocations: 7.938 kB / 0.6688 GB, free: 1.781 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.567e-05/0.1848, allocations: 105.8 kB / 0.6689 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.315e-06/0.1849, allocations: 3.938 kB / 0.6689 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.937e-05/0.1849, allocations: 48.81 kB / 0.669 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.185, allocations: 4.031 kB / 0.669 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.185, allocations: 0 / 0.669 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.185, allocations: 3.938 kB / 0.669 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.956e-05/0.1851, allocations: 153.7 kB / 0.6691 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1851, allocations: 3.938 kB / 0.6691 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.083e-05/0.1851, allocations: 4 kB / 0.6692 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.1851, allocations: 0 / 0.6692 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.1851, allocations: 0 / 0.6692 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1851, allocations: 0 / 0.6692 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1851, allocations: 0 / 0.6692 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.109e-05/0.1852, allocations: 65.12 kB / 0.6692 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.1853, allocations: 88.95 kB / 0.6693 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.1853, allocations: 0 / 0.6693 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.537e-05/0.1853, allocations: 0 / 0.6693 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/0.1853, allocations: 0 / 0.6693 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.1853, allocations: 4 kB / 0.6693 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.195e-05/0.1854, allocations: 79.27 kB / 0.6694 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1854, allocations: 0 / 0.6694 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002129/0.1856, allocations: 16.03 kB / 0.6694 GB, free: 1.105 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.0001555/0.1857, allocations: 120.5 kB / 0.6695 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.636e-05/0.1858, allocations: 8 kB / 0.6695 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.1858, allocations: 0 / 0.6695 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.039e-05/0.1859, allocations: 4 kB / 0.6695 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.1861, allocations: 15.94 kB / 0.6695 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002588/0.1863, allocations: 135.8 kB / 0.6697 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.1866, allocations: 0.6768 MB / 0.6703 GB, free: 84 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.904e-05/0.1866, allocations: 7.438 kB / 0.6703 GB, free: 76 kB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1866, allocations: 0 / 0.6703 GB, free: 76 kB / 0.4981 GB Notification: Performance of Templates: time 0.002088/0.1887, allocations: 0.6107 MB / 0.6709 GB, free: 15.46 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)