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.001114/0.001114, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001132/0.001132, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002101/0.002101, allocations: 286.5 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9801/0.9801, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 92.16 kB / 0.5947 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1668, allocations: 86.98 MB / 0.6796 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002587/0.1694, allocations: 1.346 MB / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005317/0.17, allocations: 309.1 kB / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.655e-05/0.17, allocations: 0 / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.097e-05/0.1701, allocations: 0 / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.285e-05/0.1702, allocations: 9.484 kB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.1705, allocations: 76.81 kB / 0.6813 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.903e-05/0.1706, allocations: 31.92 kB / 0.6814 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.158e-05/0.1706, allocations: 7.984 kB / 0.6814 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.062e-05/0.1707, allocations: 23.81 kB / 0.6814 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.615e-05/0.1708, allocations: 19.92 kB / 0.6814 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.1708, allocations: 3.938 kB / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.1709, allocations: 83.91 kB / 0.6815 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.171, allocations: 3.938 kB / 0.6815 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.171, allocations: 15.92 kB / 0.6815 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.1712, allocations: 76.06 kB / 0.6816 GB, free: 15.06 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1712, allocations: 0 / 0.6816 GB, free: 15.06 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1712, allocations: 0 / 0.6816 GB, free: 15.06 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1712, allocations: 0 / 0.6816 GB, free: 15.06 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.1716, allocations: 351.4 kB / 0.6819 GB, free: 14.67 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.1717, allocations: 8.031 kB / 0.6819 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.1717, allocations: 8.938 kB / 0.6819 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.1718, allocations: 168.3 kB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1718, allocations: 4.375 kB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.1718, allocations: 384 / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.172, allocations: 37.81 kB / 0.6821 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-06/0.172, allocations: 0 / 0.6821 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.172, allocations: 4 kB / 0.6821 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.172, allocations: 4 kB / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.276e-05/0.172, allocations: 11.92 kB / 0.6821 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.1722, allocations: 161.7 kB / 0.6823 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.399e-05/0.1723, allocations: 34.58 kB / 0.6823 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.533e-05/0.1723, allocations: 16.91 kB / 0.6823 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/0.1734, allocations: 1.183 MB / 0.6835 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.1735, allocations: 34.5 kB / 0.6835 GB, free: 12.63 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1735, allocations: 4 kB / 0.6835 GB, free: 12.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001636/0.1737, allocations: 53.53 kB / 0.6836 GB, free: 12.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.1737, allocations: 55.34 kB / 0.6836 GB, free: 12.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.7e-05/0.1738, allocations: 109.8 kB / 0.6838 GB, free: 12.38 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1738, allocations: 25.7 kB / 0.6838 GB, free: 12.35 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.1738, allocations: 80.14 kB / 0.6839 GB, free: 12.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.1739, allocations: 11.91 kB / 0.6839 GB, free: 12.26 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.1739, allocations: 13.72 kB / 0.6839 GB, free: 12.24 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.174, allocations: 318.8 kB / 0.6842 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.1741, allocations: 4 kB / 0.6842 GB, free: 11.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.197e-05/0.1741, allocations: 4 kB / 0.6842 GB, free: 11.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.672e-05/0.1741, allocations: 21.08 kB / 0.6842 GB, free: 11.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1741, allocations: 0 / 0.6842 GB, free: 11.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.015e-05/0.1742, allocations: 53.61 kB / 0.6843 GB, free: 11.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1742, allocations: 8 kB / 0.6843 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1742, allocations: 0 / 0.6843 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1742, allocations: 4 kB / 0.6843 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.341e-05/0.1743, allocations: 4 kB / 0.6843 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.1743, allocations: 3.938 kB / 0.6843 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.743e-05/0.1743, allocations: 3.906 kB / 0.6843 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-06/0.1743, allocations: 3.984 kB / 0.6843 GB, free: 11.8 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 8.333e-05/0.1744, allocations: 111.2 kB / 0.6844 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.1744, allocations: 3.938 kB / 0.6844 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.1746, allocations: 65.53 kB / 0.6845 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1746, allocations: 4 kB / 0.6845 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1746, allocations: 0 / 0.6845 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1746, allocations: 0 / 0.6845 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.1747, allocations: 157.7 kB / 0.6846 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1747, allocations: 3.984 kB / 0.6846 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.934e-05/0.1748, allocations: 7.938 kB / 0.6846 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1748, allocations: 0 / 0.6846 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.1748, allocations: 8 kB / 0.6846 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1748, allocations: 0 / 0.6846 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1748, allocations: 0 / 0.6846 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.1749, allocations: 76.97 kB / 0.6847 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.175, allocations: 89.03 kB / 0.6848 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.175, allocations: 0 / 0.6848 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.973e-05/0.175, allocations: 3.938 kB / 0.6848 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.1751, allocations: 4 kB / 0.6848 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1751, allocations: 4 kB / 0.6848 GB, free: 11.17 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.361e-05/0.1751, allocations: 91.58 kB / 0.6849 GB, free: 11.08 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1751, allocations: 0 / 0.6849 GB, free: 11.08 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002096/0.1753, allocations: 31.94 kB / 0.6849 GB, free: 11.05 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.0001792/0.1755, allocations: 123.2 kB / 0.685 GB, free: 10.92 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.648e-05/0.1756, allocations: 19.98 kB / 0.6851 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1756, allocations: 0 / 0.6851 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.802e-05/0.1757, allocations: 11.94 kB / 0.6851 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.1759, allocations: 10.11 kB / 0.6851 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002516/0.1761, allocations: 126.1 kB / 0.6852 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.1766, allocations: 0.6845 MB / 0.6859 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.867e-05/0.1767, allocations: 16.2 kB / 0.6859 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.1767, allocations: 7.438 kB / 0.6859 GB, free: 10 MB / 494.1 MB Notification: Performance of SimCode: time 1.223e-06/0.1768, allocations: 0 / 0.6859 GB, free: 10 MB / 494.1 MB Notification: Performance of Templates: time 0.004036/0.1808, allocations: 0.7937 MB / 0.6867 GB, free: 9.211 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)