Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001226/0.001226, 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.001164/0.001164, allocations: 193.8 kB / 16.14 MB, free: 6.707 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.388/1.388, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002657/0.002656, allocations: 284.1 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9235/0.9235, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 92.97 kB / 0.5945 GB, free: 28.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.177, allocations: 86.99 MB / 0.6794 GB, free: 1.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.00247/0.1795, allocations: 1.335 MB / 0.6807 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006339/0.1802, allocations: 321.7 kB / 0.6811 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.984e-05/0.1802, allocations: 0 / 0.6811 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.1802, allocations: 0 / 0.6811 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.1804, allocations: 17.72 kB / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.1806, allocations: 51.86 kB / 0.6811 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.552e-05/0.1807, allocations: 41.52 kB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.378e-05/0.1807, allocations: 4 kB / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.337e-05/0.1808, allocations: 25.45 kB / 0.6812 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.764e-05/0.1809, allocations: 7.938 kB / 0.6812 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.1809, allocations: 0.625 kB / 0.6812 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.1811, allocations: 93.23 kB / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.1811, allocations: 3.984 kB / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.1811, allocations: 11.94 kB / 0.6813 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.1813, allocations: 76.06 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1813, allocations: 0.6562 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1813, allocations: 4 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1813, allocations: 0 / 0.6814 GB, free: 15.19 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004177/0.1817, allocations: 349.2 kB / 0.6817 GB, free: 14.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1818, allocations: 12.03 kB / 0.6817 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.1818, allocations: 0.9375 kB / 0.6817 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.1819, allocations: 180.2 kB / 0.6819 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.182, allocations: 384 / 0.6819 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.182, allocations: 4.375 kB / 0.6819 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.1821, allocations: 41.81 kB / 0.6819 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.1821, allocations: 4 kB / 0.6819 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.1821, allocations: 0 / 0.6819 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1821, allocations: 3.938 kB / 0.6819 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.227e-05/0.1822, allocations: 12 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.1823, allocations: 161.6 kB / 0.6821 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.187e-05/0.1824, allocations: 38.55 kB / 0.6822 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.186e-05/0.1825, allocations: 8.922 kB / 0.6822 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/0.1836, allocations: 1.183 MB / 0.6833 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.1836, allocations: 38.5 kB / 0.6834 GB, free: 12.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1836, allocations: 0 / 0.6834 GB, free: 12.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001688/0.1838, allocations: 61.59 kB / 0.6834 GB, free: 12.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.1838, allocations: 51.41 kB / 0.6835 GB, free: 12.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.276e-05/0.1839, allocations: 113.8 kB / 0.6836 GB, free: 12.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.1839, allocations: 25.7 kB / 0.6836 GB, free: 12.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.184, allocations: 80.14 kB / 0.6837 GB, free: 12.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.184, allocations: 11.89 kB / 0.6837 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.1841, allocations: 17.72 kB / 0.6837 GB, free: 12.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.1842, allocations: 310.8 kB / 0.684 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.1842, allocations: 8 kB / 0.684 GB, free: 12.03 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.219e-05/0.1842, allocations: 4 kB / 0.684 GB, free: 12.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.375e-05/0.1842, allocations: 16.84 kB / 0.684 GB, free: 12.01 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1843, allocations: 0 / 0.684 GB, free: 12.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.802e-05/0.1843, allocations: 45.64 kB / 0.6841 GB, free: 11.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1844, allocations: 11.98 kB / 0.6841 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1844, allocations: 0 / 0.6841 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1844, allocations: 0 / 0.6841 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.768e-05/0.1844, allocations: 11.88 kB / 0.6841 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1845, allocations: 0 / 0.6841 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.812e-05/0.1845, allocations: 7.906 kB / 0.6841 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.1845, allocations: 8 kB / 0.6841 GB, free: 11.92 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 (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 6.516e-05/0.1846, allocations: 107.2 kB / 0.6842 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.1846, allocations: 8.266 kB / 0.6842 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.1847, allocations: 61.56 kB / 0.6843 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1847, allocations: 4 kB / 0.6843 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1847, allocations: 4 kB / 0.6843 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1847, allocations: 0 / 0.6843 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.1849, allocations: 157.6 kB / 0.6844 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1849, allocations: 0 / 0.6844 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.778e-05/0.1849, allocations: 15.88 kB / 0.6844 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1849, allocations: 0 / 0.6844 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.1849, allocations: 0 / 0.6844 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1849, allocations: 0 / 0.6844 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1849, allocations: 0 / 0.6844 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.63e-05/0.185, allocations: 77.03 kB / 0.6845 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/0.1851, allocations: 89.03 kB / 0.6846 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.1851, allocations: 4 kB / 0.6846 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.89e-05/0.1851, allocations: 0 / 0.6846 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.1852, allocations: 3.984 kB / 0.6846 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.1852, allocations: 4 kB / 0.6846 GB, free: 11.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.802e-05/0.1852, allocations: 87.27 kB / 0.6847 GB, free: 11.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1852, allocations: 0 / 0.6847 GB, free: 11.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002085/0.1855, allocations: 35.92 kB / 0.6847 GB, free: 11.17 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 (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.0001953/0.1857, allocations: 131.2 kB / 0.6849 GB, free: 11.03 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.294e-05/0.1857, allocations: 12 kB / 0.6849 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1858, allocations: 0 / 0.6849 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.741e-05/0.1858, allocations: 8 kB / 0.6849 GB, free: 11.01 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.186, allocations: 7.922 kB / 0.6849 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002587/0.1863, allocations: 135.8 kB / 0.685 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.1865, allocations: 0.6848 MB / 0.6857 GB, free: 10.13 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.18e-05/0.1865, allocations: 4 kB / 0.6857 GB, free: 10.13 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.474e-05/0.1866, allocations: 7.438 kB / 0.6857 GB, free: 10.12 MB / 494.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1866, allocations: 8 kB / 0.6857 GB, free: 10.12 MB / 494.1 MB Notification: Performance of Templates: time 0.002662/0.1892, allocations: 0.7802 MB / 0.6865 GB, free: 9.34 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)