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.00756/0.007566, allocations: 106.2 kB / 15.74 MB, free: 6 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.001375/0.001375, allocations: 199 kB / 16.68 MB, free: 5.918 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002083/0.002083, allocations: 286.8 kB / 290.8 MB, free: 1.746 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.954/0.954, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 103.8 kB / 0.6814 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1828, allocations: 86.97 MB / 0.7664 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002191/0.185, allocations: 1.291 MB / 0.7676 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005552/0.1856, allocations: 294.9 kB / 0.7679 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.129e-05/0.1856, allocations: 3.938 kB / 0.7679 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.825e-05/0.1857, allocations: 3.984 kB / 0.7679 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.987e-05/0.1858, allocations: 15.92 kB / 0.768 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.1861, allocations: 75.72 kB / 0.768 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.885e-05/0.1862, allocations: 35.86 kB / 0.7681 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.837e-05/0.1862, allocations: 3.984 kB / 0.7681 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.1863, allocations: 39.91 kB / 0.7681 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.208e-05/0.1864, allocations: 7.938 kB / 0.7681 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.1864, allocations: 0 / 0.7681 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.1866, allocations: 79.91 kB / 0.7682 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.1866, allocations: 7.984 kB / 0.7682 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.1866, allocations: 11.88 kB / 0.7682 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.1868, allocations: 79.78 kB / 0.7683 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1868, allocations: 3.938 kB / 0.7683 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1868, allocations: 0 / 0.7683 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1868, allocations: 4 kB / 0.7683 GB, free: 6.453 MB / 0.5606 GB 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.0003951/0.1872, allocations: 355.3 kB / 0.7686 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1873, allocations: 12.03 kB / 0.7686 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.1873, allocations: 0.9375 kB / 0.7686 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.1874, allocations: 180.2 kB / 0.7688 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.1874, allocations: 4.375 kB / 0.7688 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.1874, allocations: 384 / 0.7688 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.1876, allocations: 41.64 kB / 0.7689 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1876, allocations: 4 kB / 0.7689 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1876, allocations: 3.984 kB / 0.7689 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1876, allocations: 0 / 0.7689 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.767e-05/0.1876, allocations: 8 kB / 0.7689 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/0.1878, allocations: 157.7 kB / 0.769 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.744e-05/0.1879, allocations: 42.53 kB / 0.7691 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.215e-05/0.1879, allocations: 12.92 kB / 0.7691 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/0.189, allocations: 1.191 MB / 0.7702 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.189, allocations: 30.56 kB / 0.7703 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.189, allocations: 0 / 0.7703 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0001472/0.1892, allocations: 49.69 kB / 0.7703 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.1892, allocations: 59.34 kB / 0.7704 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.692e-05/0.1893, allocations: 105.8 kB / 0.7705 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.1893, allocations: 25.7 kB / 0.7705 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.054e-05/0.1894, allocations: 84.14 kB / 0.7706 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.1894, allocations: 15.75 kB / 0.7706 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.1894, allocations: 13.72 kB / 0.7706 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1896, allocations: 318.8 kB / 0.7709 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/0.1896, allocations: 4 kB / 0.7709 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.15e-05/0.1896, allocations: 8 kB / 0.7709 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.147e-05/0.1896, allocations: 12.86 kB / 0.7709 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1897, allocations: 4 kB / 0.7709 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.776e-05/0.1897, allocations: 53.56 kB / 0.771 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.1897, allocations: 4 kB / 0.771 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.1898, allocations: 0 / 0.771 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1898, allocations: 0 / 0.771 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.992e-05/0.1898, allocations: 7.984 kB / 0.771 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1898, allocations: 0 / 0.771 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.796e-05/0.1899, allocations: 4 kB / 0.771 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.1899, allocations: 4 kB / 0.771 GB, free: 3.188 MB / 0.5606 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 8.453e-05/0.19, allocations: 106.5 kB / 0.7711 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.19, allocations: 11.84 kB / 0.7711 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.1901, allocations: 57.53 kB / 0.7712 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1901, allocations: 4 kB / 0.7712 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1901, allocations: 0 / 0.7712 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1901, allocations: 11.92 kB / 0.7712 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.1902, allocations: 153.7 kB / 0.7713 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1902, allocations: 7.938 kB / 0.7713 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.517e-05/0.1903, allocations: 4 kB / 0.7713 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.1903, allocations: 0 / 0.7713 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.1903, allocations: 0 / 0.7713 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1903, allocations: 0 / 0.7713 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.1903, allocations: 0 / 0.7713 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.084e-05/0.1904, allocations: 77.5 kB / 0.7714 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.1905, allocations: 88.94 kB / 0.7715 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.1905, allocations: 8 kB / 0.7715 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.582e-05/0.1905, allocations: 0 / 0.7715 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.1905, allocations: 4.031 kB / 0.7715 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.1905, allocations: 4 kB / 0.7715 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.033e-05/0.1906, allocations: 87.27 kB / 0.7716 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.595e-06/0.1906, allocations: 0 / 0.7716 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002092/0.1908, allocations: 35.81 kB / 0.7716 GB, free: 2.434 MB / 0.5606 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.0001742/0.191, allocations: 135.2 kB / 0.7718 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.21e-05/0.1911, allocations: 11.98 kB / 0.7718 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1911, allocations: 0 / 0.7718 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.617e-05/0.1911, allocations: 12 kB / 0.7718 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.1913, allocations: 11.88 kB / 0.7718 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.1916, allocations: 126.1 kB / 0.7719 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.1918, allocations: 0.6807 MB / 0.7726 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.721e-05/0.1919, allocations: 8.531 kB / 0.7726 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.759e-05/0.1919, allocations: 11.44 kB / 0.7726 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.1919, allocations: 0 / 0.7726 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of Templates: time 0.002726/0.1946, allocations: 0.7914 MB / 0.7734 GB, free: 0.5977 MB / 0.5606 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)