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.00196/0.00196, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001794/0.001794, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.536/1.536, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002711/0.002711, allocations: 278.8 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.11/1.11, allocations: 178.6 MB / 0.5069 GB, free: 4.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002776/0.002776, allocations: 100.2 kB / 0.6059 GB, free: 24.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1781, allocations: 89.14 MB / 0.693 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002651/0.1808, allocations: 1.354 MB / 0.6943 GB, free: 3.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006123/0.1815, allocations: 303.7 kB / 0.6946 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.459e-05/0.1815, allocations: 4 kB / 0.6946 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.1815, allocations: 5.656 kB / 0.6946 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.907e-05/0.1816, allocations: 3.984 kB / 0.6946 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.182, allocations: 76.45 kB / 0.6947 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.995e-05/0.1821, allocations: 35.84 kB / 0.6947 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.464e-05/0.1821, allocations: 4 kB / 0.6947 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1822, allocations: 23.86 kB / 0.6947 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.342e-05/0.1823, allocations: 11.94 kB / 0.6947 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.1823, allocations: 8 kB / 0.6948 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.1825, allocations: 79.91 kB / 0.6948 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/0.1825, allocations: 7.922 kB / 0.6948 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.1825, allocations: 11.94 kB / 0.6948 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.1827, allocations: 76.06 kB / 0.6949 GB, free: 2.688 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1827, allocations: 0 / 0.6949 GB, free: 2.688 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1827, allocations: 0 / 0.6949 GB, free: 2.688 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1827, allocations: 0 / 0.6949 GB, free: 2.688 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.0004857/0.1832, allocations: 347.4 kB / 0.6953 GB, free: 2.301 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1833, allocations: 12.03 kB / 0.6953 GB, free: 2.289 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.1833, allocations: 8.844 kB / 0.6953 GB, free: 2.281 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.1835, allocations: 172.4 kB / 0.6954 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1835, allocations: 384 / 0.6954 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.1835, allocations: 4.375 kB / 0.6954 GB, free: 2.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.1836, allocations: 37.81 kB / 0.6955 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1837, allocations: 3.938 kB / 0.6955 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1837, allocations: 0 / 0.6955 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.1837, allocations: 4 kB / 0.6955 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.022e-05/0.1837, allocations: 8 kB / 0.6955 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.1839, allocations: 165.6 kB / 0.6957 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.371e-05/0.184, allocations: 34.67 kB / 0.6957 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/0.1841, allocations: 12.86 kB / 0.6957 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00128/0.1854, allocations: 1.179 MB / 0.6968 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.1854, allocations: 42.44 kB / 0.6969 GB, free: 260 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 4.729e-06/0.1854, allocations: 7.922 kB / 0.6969 GB, free: 252 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001712/0.1856, allocations: 53.62 kB / 0.6969 GB, free: 192 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.1857, allocations: 51.41 kB / 0.697 GB, free: 128 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.185e-05/0.1858, allocations: 110.1 kB / 0.6971 GB, free: 8 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.1858, allocations: 29.7 kB / 0.6971 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.1858, allocations: 80.14 kB / 0.6972 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.1859, allocations: 15.83 kB / 0.6972 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.1859, allocations: 17.62 kB / 0.6972 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1861, allocations: 314.8 kB / 0.6975 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.687e-05/0.1861, allocations: 4 kB / 0.6975 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.472e-05/0.1861, allocations: 4 kB / 0.6975 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.19e-05/0.1862, allocations: 24.78 kB / 0.6976 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1862, allocations: 0 / 0.6976 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.521e-05/0.1863, allocations: 49.64 kB / 0.6976 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1863, allocations: 7.984 kB / 0.6976 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1863, allocations: 0 / 0.6976 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1863, allocations: 4 kB / 0.6976 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.08e-05/0.1864, allocations: 4 kB / 0.6976 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1864, allocations: 4.062 kB / 0.6976 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.63e-05/0.1864, allocations: 0 / 0.6976 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.1864, allocations: 0 / 0.6976 GB, free: 15.43 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 (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 7.987e-05/0.1865, allocations: 109.8 kB / 0.6977 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.1865, allocations: 7.938 kB / 0.6977 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.1867, allocations: 65.52 kB / 0.6978 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1867, allocations: 0 / 0.6978 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1867, allocations: 0 / 0.6978 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1867, allocations: 0 / 0.6978 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.1868, allocations: 161.6 kB / 0.698 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1868, allocations: 0 / 0.698 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.138e-05/0.1869, allocations: 15.94 kB / 0.698 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1869, allocations: 0 / 0.698 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.1869, allocations: 4 kB / 0.698 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1869, allocations: 0 / 0.698 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1869, allocations: 0 / 0.698 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.187, allocations: 73.06 kB / 0.6981 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.942e-05/0.1871, allocations: 89.03 kB / 0.6981 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.1871, allocations: 3.938 kB / 0.6981 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.167e-05/0.1872, allocations: 4 kB / 0.6981 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.1872, allocations: 8.406 kB / 0.6982 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.1872, allocations: 0 / 0.6982 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.934e-05/0.1873, allocations: 87.28 kB / 0.6982 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1873, allocations: 3.938 kB / 0.6982 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002127/0.1875, allocations: 35.92 kB / 0.6983 GB, free: 14.66 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 (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.0001943/0.1877, allocations: 123.2 kB / 0.6984 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000108/0.1878, allocations: 23.92 kB / 0.6984 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1878, allocations: 4 kB / 0.6984 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.84e-05/0.1878, allocations: 7.984 kB / 0.6984 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.1881, allocations: 8.938 kB / 0.6984 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.1884, allocations: 130 kB / 0.6986 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.1887, allocations: 0.6807 MB / 0.6992 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.888e-05/0.1888, allocations: 8 kB / 0.6992 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.913e-05/0.1888, allocations: 7.438 kB / 0.6992 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1888, allocations: 0 / 0.6992 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.003314/0.1921, allocations: 0.7931 MB / 0.7 GB, free: 12.83 MB / 0.4981 GB 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)