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.001147/0.001148, allocations: 105.7 kB / 16.36 MB, free: 6.309 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.001092/0.001092, allocations: 188.7 kB / 17.29 MB, free: 5.875 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.331/1.331, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.996/1.996, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001426/0.001426, allocations: 63.91 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2304, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002515/0.2329, allocations: 1.286 MB / 0.786 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005433/0.2335, allocations: 295 kB / 0.7863 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.2336, allocations: 0 / 0.7863 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.226e-05/0.2336, allocations: 3.938 kB / 0.7863 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.993e-05/0.2337, allocations: 19.83 kB / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.234, allocations: 75.73 kB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.786e-05/0.2341, allocations: 39.91 kB / 0.7864 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.2342, allocations: 0 / 0.7864 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.8e-05/0.2343, allocations: 23.86 kB / 0.7865 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/0.2343, allocations: 19.91 kB / 0.7865 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.2344, allocations: 0 / 0.7865 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.2345, allocations: 87.91 kB / 0.7866 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.2345, allocations: 0 / 0.7866 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.2346, allocations: 11.94 kB / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.2347, allocations: 75.78 kB / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2347, allocations: 0 / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2348, allocations: 0 / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.2348, allocations: 0 / 0.7867 GB, free: 1.234 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.0003916/0.2352, allocations: 347.4 kB / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.2352, allocations: 12.02 kB / 0.787 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.2353, allocations: 16.78 kB / 0.787 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.2354, allocations: 164.4 kB / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.2354, allocations: 384 / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.2354, allocations: 4.375 kB / 0.7872 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.2355, allocations: 34.25 kB / 0.7872 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2355, allocations: 4.188 kB / 0.7872 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.2356, allocations: 7.875 kB / 0.7872 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2356, allocations: 0 / 0.7872 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.937e-05/0.2356, allocations: 8 kB / 0.7872 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.2358, allocations: 169.6 kB / 0.7874 GB, free: 348 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.499e-05/0.2359, allocations: 30.58 kB / 0.7874 GB, free: 308 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.184e-05/0.2359, allocations: 8.922 kB / 0.7874 GB, free: 296 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3696/0.6055, allocations: 1.187 MB / 0.7886 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.6056, allocations: 30.56 kB / 0.7886 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.945e-06/0.6056, allocations: 0 / 0.7886 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0002074/0.6058, allocations: 60.73 kB / 0.7887 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.6058, allocations: 55.34 kB / 0.7887 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.109e-05/0.6059, allocations: 106.5 kB / 0.7888 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.6059, allocations: 28.58 kB / 0.7889 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.601e-05/0.606, allocations: 83.2 kB / 0.7889 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.606, allocations: 8.953 kB / 0.7889 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.606, allocations: 15.84 kB / 0.789 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.948e-05/0.6061, allocations: 318 kB / 0.7893 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.696e-05/0.6061, allocations: 4.719 kB / 0.7893 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.27e-05/0.6061, allocations: 5.344 kB / 0.7893 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.754e-05/0.6062, allocations: 18.39 kB / 0.7893 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6062, allocations: 1.844 kB / 0.7893 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.491e-05/0.6062, allocations: 46.33 kB / 0.7893 GB, free: 47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.6063, allocations: 11.47 kB / 0.7893 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.6063, allocations: 4.734 kB / 0.7894 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.6063, allocations: 0.5938 kB / 0.7894 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.43e-05/0.6064, allocations: 6.281 kB / 0.7894 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.6064, allocations: 0.8438 kB / 0.7894 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.105e-05/0.6064, allocations: 0.5 kB / 0.7894 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.6064, allocations: 9.781 kB / 0.7894 GB, free: 47 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.995e-05/0.6065, allocations: 114.1 kB / 0.7895 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-06/0.6065, allocations: 0 / 0.7895 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.6066, allocations: 64.02 kB / 0.7895 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.6066, allocations: 0 / 0.7895 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.6066, allocations: 3.969 kB / 0.7895 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.6066, allocations: 0 / 0.7895 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.639e-05/0.6067, allocations: 162.5 kB / 0.7897 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6067, allocations: 0.5938 kB / 0.7897 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.557e-05/0.6068, allocations: 6.781 kB / 0.7897 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.6068, allocations: 0 / 0.7897 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.6068, allocations: 0 / 0.7897 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.6068, allocations: 0.5312 kB / 0.7897 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6068, allocations: 4.688 kB / 0.7897 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.586e-05/0.6069, allocations: 77.88 kB / 0.7898 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.295e-05/0.6069, allocations: 85.77 kB / 0.7899 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.6069, allocations: 3.375 kB / 0.7899 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.965e-05/0.607, allocations: 2.625 kB / 0.7899 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.607, allocations: 0 / 0.7899 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.607, allocations: 9.5 kB / 0.7899 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.039e-05/0.6071, allocations: 92.55 kB / 0.79 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6071, allocations: 0 / 0.79 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002385/0.6073, allocations: 32.09 kB / 0.79 GB, free: 46.42 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.0001612/0.6075, allocations: 120.1 kB / 0.7901 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.307e-05/0.6076, allocations: 18.11 kB / 0.7901 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6076, allocations: 0.625 kB / 0.7901 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.456e-05/0.6076, allocations: 9.812 kB / 0.7901 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.6078, allocations: 11.72 kB / 0.7902 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002597/0.6081, allocations: 151 kB / 0.7903 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.6082, allocations: 0.6821 MB / 0.791 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.6082, allocations: 12.25 kB / 0.791 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.6082, allocations: 0 / 0.791 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.002028/0.6102, allocations: 0.7239 MB / 0.7917 GB, free: 45.5 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)