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.001195/0.001195, allocations: 104.1 kB / 16.36 MB, free: 6.004 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.001076/0.001076, allocations: 195.9 kB / 17.3 MB, free: 5.609 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.356/1.356, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.795/1.795, allocations: 292.3 MB / 0.5496 GB, free: 17.62 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.001416/0.001416, allocations: 63.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2211, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002392/0.2235, allocations: 1.288 MB / 0.786 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005414/0.2241, allocations: 287 kB / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.248e-05/0.2241, allocations: 0 / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.811e-05/0.2242, allocations: 3.938 kB / 0.7863 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.733e-05/0.2243, allocations: 27.84 kB / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.2246, allocations: 67.72 kB / 0.7864 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.312e-05/0.2247, allocations: 35.91 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.2247, allocations: 4 kB / 0.7864 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.559e-05/0.2248, allocations: 35.86 kB / 0.7865 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.727e-05/0.2249, allocations: 15.91 kB / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.2249, allocations: 0 / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.2251, allocations: 83.91 kB / 0.7866 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.2251, allocations: 0 / 0.7866 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.2252, allocations: 7.938 kB / 0.7866 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.2253, allocations: 79.78 kB / 0.7867 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2253, allocations: 0 / 0.7867 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2254, allocations: 0 / 0.7867 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.2254, allocations: 0 / 0.7867 GB, free: 1.25 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.0004154/0.2258, allocations: 351.4 kB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2258, allocations: 12.03 kB / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.2259, allocations: 12.77 kB / 0.787 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.226, allocations: 164.4 kB / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.226, allocations: 384 / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.226, allocations: 384 / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.89e-05/0.2261, allocations: 42.25 kB / 0.7872 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.2261, allocations: 4.125 kB / 0.7872 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.2262, allocations: 3.938 kB / 0.7872 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2262, allocations: 7.938 kB / 0.7872 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.79e-05/0.2262, allocations: 8 kB / 0.7872 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.2264, allocations: 161.6 kB / 0.7874 GB, free: 364 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.294e-05/0.2265, allocations: 34.61 kB / 0.7874 GB, free: 320 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.183e-05/0.2265, allocations: 8.922 kB / 0.7874 GB, free: 308 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3563/0.5828, allocations: 1.182 MB / 0.7886 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.5829, allocations: 34.28 kB / 0.7886 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.534e-06/0.5829, allocations: 0 / 0.7886 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0001847/0.5831, allocations: 57.98 kB / 0.7887 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.5831, allocations: 55.34 kB / 0.7887 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.676e-05/0.5832, allocations: 104.8 kB / 0.7888 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.5832, allocations: 28.42 kB / 0.7889 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.642e-05/0.5832, allocations: 88.08 kB / 0.7889 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.5833, allocations: 6 kB / 0.7889 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.5833, allocations: 17.53 kB / 0.789 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.921e-05/0.5833, allocations: 311.7 kB / 0.7893 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.5834, allocations: 12.12 kB / 0.7893 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.339e-05/0.5834, allocations: 3.031 kB / 0.7893 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.355e-05/0.5834, allocations: 20.42 kB / 0.7893 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5834, allocations: 0 / 0.7893 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.173e-05/0.5835, allocations: 54.56 kB / 0.7893 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.5835, allocations: 8.5 kB / 0.7893 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.5835, allocations: 0 / 0.7893 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.5836, allocations: 1.406 kB / 0.7894 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.427e-05/0.5836, allocations: 5.062 kB / 0.7894 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.5836, allocations: 0 / 0.7894 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.5836, allocations: 0 / 0.7894 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.5837, allocations: 8.25 kB / 0.7894 GB, free: 47.71 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 4.573e-05/0.5837, allocations: 116.6 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.5837, allocations: 0 / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.5838, allocations: 64.88 kB / 0.7895 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.5839, allocations: 2.781 kB / 0.7895 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.5839, allocations: 0 / 0.7895 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.5839, allocations: 0 / 0.7895 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.871e-05/0.5839, allocations: 159.6 kB / 0.7897 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.584, allocations: 3.656 kB / 0.7897 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.699e-05/0.584, allocations: 5.438 kB / 0.7897 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.584, allocations: 3 kB / 0.7897 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.584, allocations: 2.656 kB / 0.7897 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.584, allocations: 3.188 kB / 0.7897 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.584, allocations: 0.5625 kB / 0.7897 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.725e-05/0.5841, allocations: 83.41 kB / 0.7898 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.698e-05/0.5841, allocations: 79.8 kB / 0.7899 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.5842, allocations: 0 / 0.7899 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.05e-05/0.5842, allocations: 6.25 kB / 0.7899 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.5842, allocations: 1.969 kB / 0.7899 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.5842, allocations: 7.438 kB / 0.7899 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.383e-05/0.5843, allocations: 88.61 kB / 0.79 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5843, allocations: 0 / 0.79 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002117/0.5845, allocations: 25.83 kB / 0.79 GB, free: 47.13 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.0001585/0.5846, allocations: 128 kB / 0.7901 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.073e-05/0.5847, allocations: 17.59 kB / 0.7901 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5847, allocations: 0 / 0.7901 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.426e-05/0.5848, allocations: 13.09 kB / 0.7901 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.585, allocations: 12.27 kB / 0.7902 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/0.5852, allocations: 114.3 kB / 0.7903 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.785e-05/0.5853, allocations: 0.6803 MB / 0.7909 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.838e-05/0.5854, allocations: 13.77 kB / 0.7909 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.72e-05/0.5854, allocations: 10.06 kB / 0.7909 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.5854, allocations: 1.406 kB / 0.7909 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of Templates: time 0.002632/0.588, allocations: 0.7832 MB / 0.7917 GB, free: 46.24 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)