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.001114/0.001114, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001192/0.001192, allocations: 194.5 kB / 16.14 MB, free: 6.688 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.401/1.401, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7478/0.7478, allocations: 132.2 MB / 422.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.33 kB / 0.5011 GB, free: 9.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1784, allocations: 80.19 MB / 0.5794 GB, free: 9.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002657/0.1811, allocations: 1.322 MB / 0.5807 GB, free: 7.891 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004172/0.1816, allocations: 131.5 kB / 0.5808 GB, free: 7.762 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.458e-05/0.1816, allocations: 0 / 0.5808 GB, free: 7.762 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.376e-05/0.1816, allocations: 0 / 0.5808 GB, free: 7.762 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.471e-05/0.1817, allocations: 11.94 kB / 0.5809 GB, free: 7.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.1819, allocations: 23.91 kB / 0.5809 GB, free: 7.727 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.127e-05/0.182, allocations: 11.94 kB / 0.5809 GB, free: 7.715 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.271e-05/0.182, allocations: 3.984 kB / 0.5809 GB, free: 7.711 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.589e-05/0.1821, allocations: 11.92 kB / 0.5809 GB, free: 7.699 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.768e-05/0.1821, allocations: 8 kB / 0.5809 GB, free: 7.691 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.1822, allocations: 0 / 0.5809 GB, free: 7.691 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.1823, allocations: 47.94 kB / 0.581 GB, free: 7.645 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.1823, allocations: 8 kB / 0.581 GB, free: 7.637 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.1824, allocations: 7.938 kB / 0.581 GB, free: 7.629 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.1825, allocations: 35.94 kB / 0.581 GB, free: 7.594 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1825, allocations: 0 / 0.581 GB, free: 7.594 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1825, allocations: 0 / 0.581 GB, free: 7.594 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1825, allocations: 0 / 0.581 GB, free: 7.594 MB / 494.1 MB 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.0004687/0.183, allocations: 335.7 kB / 0.5813 GB, free: 7.219 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.183, allocations: 12.03 kB / 0.5813 GB, free: 7.207 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.1831, allocations: 0.9375 kB / 0.5813 GB, free: 7.207 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.1832, allocations: 168.4 kB / 0.5815 GB, free: 7.004 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1833, allocations: 384 / 0.5815 GB, free: 7.004 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.1833, allocations: 8.312 kB / 0.5815 GB, free: 6.996 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.215e-05/0.1834, allocations: 33.77 kB / 0.5815 GB, free: 6.957 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.1834, allocations: 0 / 0.5815 GB, free: 6.957 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1834, allocations: 11.98 kB / 0.5816 GB, free: 6.945 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1834, allocations: 0 / 0.5816 GB, free: 6.945 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.957e-05/0.1834, allocations: 7.984 kB / 0.5816 GB, free: 6.938 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.1836, allocations: 147.5 kB / 0.5817 GB, free: 6.746 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.928e-05/0.1837, allocations: 26.61 kB / 0.5817 GB, free: 6.711 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.097e-05/0.1837, allocations: 12.84 kB / 0.5817 GB, free: 6.695 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007491/0.1845, allocations: 0.6052 MB / 0.5823 GB, free: 5.961 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.1845, allocations: 34.5 kB / 0.5824 GB, free: 5.918 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.1845, allocations: 7.875 kB / 0.5824 GB, free: 5.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001415/0.1847, allocations: 45.69 kB / 0.5824 GB, free: 5.859 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.1847, allocations: 55.41 kB / 0.5825 GB, free: 5.793 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.826e-05/0.1848, allocations: 93.86 kB / 0.5826 GB, free: 5.691 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.1848, allocations: 25.7 kB / 0.5826 GB, free: 5.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.799e-05/0.1848, allocations: 84.12 kB / 0.5827 GB, free: 5.574 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.1849, allocations: 11.91 kB / 0.5827 GB, free: 5.562 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.1849, allocations: 9.719 kB / 0.5827 GB, free: 5.547 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.185, allocations: 310.8 kB / 0.583 GB, free: 5.234 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.1851, allocations: 8.125 kB / 0.583 GB, free: 5.227 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.02e-05/0.1851, allocations: 4 kB / 0.583 GB, free: 5.223 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.418e-05/0.1851, allocations: 24.78 kB / 0.583 GB, free: 5.195 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.1851, allocations: 0 / 0.583 GB, free: 5.195 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.949e-05/0.1852, allocations: 41.64 kB / 0.5831 GB, free: 5.148 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1852, allocations: 4 kB / 0.5831 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1852, allocations: 4 kB / 0.5831 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1853, allocations: 0 / 0.5831 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.781e-05/0.1853, allocations: 4.094 kB / 0.5831 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1853, allocations: 4 kB / 0.5831 GB, free: 5.133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.1853, allocations: 3.906 kB / 0.5831 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.1854, allocations: 0 / 0.5831 GB, free: 5.129 MB / 494.1 MB 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.822e-05/0.1854, allocations: 109.8 kB / 0.5832 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.1855, allocations: 7.938 kB / 0.5832 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.873e-05/0.1856, allocations: 44.77 kB / 0.5832 GB, free: 4.949 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1856, allocations: 7.922 kB / 0.5832 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1856, allocations: 4.031 kB / 0.5832 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1856, allocations: 0 / 0.5832 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.1857, allocations: 153.6 kB / 0.5834 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1857, allocations: 0 / 0.5834 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.527e-05/0.1857, allocations: 11.92 kB / 0.5834 GB, free: 4.727 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.1857, allocations: 0 / 0.5834 GB, free: 4.727 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-06/0.1857, allocations: 0 / 0.5834 GB, free: 4.727 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1857, allocations: 0 / 0.5834 GB, free: 4.727 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1858, allocations: 0 / 0.5834 GB, free: 4.727 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.488e-05/0.1858, allocations: 69.08 kB / 0.5835 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.1859, allocations: 85.03 kB / 0.5835 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.1859, allocations: 0 / 0.5835 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.648e-05/0.1859, allocations: 0 / 0.5835 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.186, allocations: 0 / 0.5835 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.186, allocations: 4 kB / 0.5835 GB, free: 4.535 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.985e-05/0.186, allocations: 79.28 kB / 0.5836 GB, free: 4.457 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.186, allocations: 0 / 0.5836 GB, free: 4.457 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002069/0.1862, allocations: 19.94 kB / 0.5836 GB, free: 4.438 MB / 494.1 MB 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.0001781/0.1864, allocations: 111.3 kB / 0.5837 GB, free: 4.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.76e-05/0.1865, allocations: 8 kB / 0.5838 GB, free: 4.312 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1865, allocations: 0 / 0.5838 GB, free: 4.312 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.662e-05/0.1866, allocations: 11.92 kB / 0.5838 GB, free: 4.301 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.1868, allocations: 13.5 kB / 0.5838 GB, free: 4.289 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.1872, allocations: 115.8 kB / 0.5839 GB, free: 4.148 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.1874, allocations: 0.6731 MB / 0.5845 GB, free: 3.449 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.46e-05/0.1875, allocations: 11.98 kB / 0.5846 GB, free: 3.438 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.1875, allocations: 7.438 kB / 0.5846 GB, free: 3.434 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1875, allocations: 0 / 0.5846 GB, free: 3.434 MB / 494.1 MB Notification: Performance of Templates: time 0.002896/0.1904, allocations: 0.5842 MB / 0.5851 GB, free: 2.855 MB / 494.1 MB 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)