Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001437/0.001437, allocations: 101.9 kB / 16.27 MB, free: 5.898 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.001382/0.001382, allocations: 185 kB / 17.2 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.739/1.739, allocations: 292.3 MB / 0.5495 GB, free: 17.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 75.84 kB / 0.6722 GB, free: 6.609 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2357, allocations: 114.5 MB / 0.784 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002753/0.2385, allocations: 1.284 MB / 0.7853 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006032/0.2391, allocations: 294.9 kB / 0.7856 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.875e-05/0.2392, allocations: 0 / 0.7856 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.947e-05/0.2392, allocations: 3.938 kB / 0.7856 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.2393, allocations: 15.92 kB / 0.7856 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.2397, allocations: 75.7 kB / 0.7857 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.409e-05/0.2398, allocations: 31.92 kB / 0.7857 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.949e-05/0.2399, allocations: 0 / 0.7857 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.739e-05/0.24, allocations: 31.86 kB / 0.7857 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.793e-05/0.24, allocations: 15.92 kB / 0.7857 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.24, allocations: 0 / 0.7857 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.2402, allocations: 79.91 kB / 0.7858 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.2402, allocations: 0 / 0.7858 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.645e-05/0.2403, allocations: 15.94 kB / 0.7858 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.2405, allocations: 72.06 kB / 0.7859 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2405, allocations: 7.875 kB / 0.7859 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2405, allocations: 0 / 0.7859 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.2405, allocations: 8 kB / 0.7859 GB, free: 2.008 MB / 0.6544 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.0004343/0.241, allocations: 351.4 kB / 0.7862 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.241, allocations: 12.03 kB / 0.7862 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.2411, allocations: 8.844 kB / 0.7863 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.2412, allocations: 168.4 kB / 0.7864 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.2412, allocations: 384 / 0.7864 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.2412, allocations: 384 / 0.7864 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.2413, allocations: 38.25 kB / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2414, allocations: 4.188 kB / 0.7865 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.2414, allocations: 11.88 kB / 0.7865 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2414, allocations: 0 / 0.7865 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.115e-05/0.2414, allocations: 11.98 kB / 0.7865 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.2416, allocations: 157.7 kB / 0.7866 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.78e-05/0.2417, allocations: 30.58 kB / 0.7867 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.455e-05/0.2418, allocations: 12.92 kB / 0.7867 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3681/0.6099, allocations: 1.183 MB / 0.7878 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/0.61, allocations: 31.88 kB / 0.7879 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 5.079e-06/0.61, allocations: 0 / 0.7879 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0002406/0.6102, allocations: 59.22 kB / 0.7879 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.6103, allocations: 52.75 kB / 0.788 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.318e-05/0.6104, allocations: 111 kB / 0.7881 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.6104, allocations: 29.64 kB / 0.7881 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.035e-05/0.6104, allocations: 80.14 kB / 0.7882 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.6105, allocations: 14.02 kB / 0.7882 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.6105, allocations: 12.34 kB / 0.7882 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.615e-05/0.6106, allocations: 313.2 kB / 0.7885 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.6106, allocations: 5.859 kB / 0.7885 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.783e-05/0.6106, allocations: 6.375 kB / 0.7885 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.014e-05/0.6107, allocations: 17.88 kB / 0.7885 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.6107, allocations: 0.7188 kB / 0.7885 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.823e-05/0.6108, allocations: 52.75 kB / 0.7886 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.6108, allocations: 9.031 kB / 0.7886 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.6108, allocations: 0 / 0.7886 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.6108, allocations: 4.625 kB / 0.7886 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.495e-05/0.6109, allocations: 7.406 kB / 0.7886 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.611, allocations: 3.922 kB / 0.7886 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.65e-05/0.611, allocations: 3.438 kB / 0.7886 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.611, allocations: 0 / 0.7886 GB, free: 47.9 MB / 0.6544 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.117e-05/0.6111, allocations: 114.8 kB / 0.7887 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.6111, allocations: 3.578 kB / 0.7887 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.6113, allocations: 59.17 kB / 0.7888 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.6113, allocations: 1.875 kB / 0.7888 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.6113, allocations: 2.25 kB / 0.7888 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.6113, allocations: 1.938 kB / 0.7888 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.524e-05/0.6114, allocations: 165.6 kB / 0.7889 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.6114, allocations: 2.812 kB / 0.7889 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.922e-05/0.6114, allocations: 5 kB / 0.7889 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.6114, allocations: 1.219 kB / 0.7889 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.6115, allocations: 0.5938 kB / 0.7889 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.6115, allocations: 0.9688 kB / 0.789 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6115, allocations: 2.594 kB / 0.789 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.899e-05/0.6116, allocations: 81.48 kB / 0.789 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.6116, allocations: 85.2 kB / 0.7891 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.6116, allocations: 3.188 kB / 0.7891 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.246e-05/0.6117, allocations: 0 / 0.7891 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.6117, allocations: 0 / 0.7891 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.6117, allocations: 2.938 kB / 0.7891 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.074e-05/0.6117, allocations: 90.22 kB / 0.7892 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6118, allocations: 0 / 0.7892 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002597/0.612, allocations: 33.52 kB / 0.7892 GB, free: 47.32 MB / 0.6544 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.0002026/0.6122, allocations: 126.9 kB / 0.7894 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.6123, allocations: 19.66 kB / 0.7894 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6124, allocations: 3.5 kB / 0.7894 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.447e-05/0.6124, allocations: 6.188 kB / 0.7894 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.6126, allocations: 7.906 kB / 0.7894 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.6129, allocations: 153.4 kB / 0.7895 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.6131, allocations: 0.6783 MB / 0.7902 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.6131, allocations: 10.28 kB / 0.7902 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of SimCode: time 4.81e-07/0.6131, allocations: 1.812 kB / 0.7902 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of Templates: time 0.002206/0.6153, allocations: 0.7186 MB / 0.7909 GB, free: 46.39 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)