Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001118/0.001118, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.423/1.423, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6484/0.6484, allocations: 95.48 MB / 365.2 MB, free: 9.941 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 68.33 kB / 445.3 MB, free: 9.672 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3342, allocations: 69.08 MB / 0.5024 GB, free: 17.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.003189/0.3375, allocations: 1.249 MB / 0.5036 GB, free: 16.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000552/0.3381, allocations: 274 kB / 0.5039 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.464e-05/0.3382, allocations: 0 / 0.5039 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.743e-05/0.3382, allocations: 3.938 kB / 0.5039 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.3383, allocations: 15.92 kB / 0.5039 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.3388, allocations: 79.72 kB / 0.5039 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.3389, allocations: 35.84 kB / 0.504 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.222e-05/0.339, allocations: 11.98 kB / 0.504 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.3391, allocations: 27.88 kB / 0.504 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.3393, allocations: 11.92 kB / 0.504 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.3393, allocations: 0 / 0.504 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002582/0.3396, allocations: 79.91 kB / 0.5041 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.321e-05/0.3396, allocations: 8 kB / 0.5041 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.913e-05/0.3396, allocations: 7.938 kB / 0.5041 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.3399, allocations: 77.75 kB / 0.5042 GB, free: 15.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.3399, allocations: 0 / 0.5042 GB, free: 15.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.115e-06/0.3399, allocations: 4 kB / 0.5042 GB, free: 15.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.3399, allocations: 4 kB / 0.5042 GB, free: 15.54 MB / 382.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.0006155/0.3405, allocations: 359.2 kB / 0.5045 GB, free: 15.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.205e-05/0.3406, allocations: 15.98 kB / 0.5046 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.9e-05/0.3407, allocations: 4.938 kB / 0.5046 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.3409, allocations: 172.3 kB / 0.5047 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.3409, allocations: 384 / 0.5047 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.3409, allocations: 8.297 kB / 0.5047 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.3411, allocations: 46.25 kB / 0.5048 GB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3411, allocations: 192 / 0.5048 GB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.3411, allocations: 7.875 kB / 0.5048 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.3411, allocations: 0 / 0.5048 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.009e-05/0.3412, allocations: 11.98 kB / 0.5048 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.3414, allocations: 153.7 kB / 0.505 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.286e-05/0.3415, allocations: 30.58 kB / 0.505 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.293e-05/0.3415, allocations: 16.91 kB / 0.505 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008913/0.3424, allocations: 1.187 MB / 0.5062 GB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.3425, allocations: 30.56 kB / 0.5062 GB, free: 13.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.014e-06/0.3425, allocations: 0 / 0.5062 GB, free: 13.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001713/0.3426, allocations: 61.56 kB / 0.5062 GB, free: 13.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.3427, allocations: 51.41 kB / 0.5063 GB, free: 12.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.327e-05/0.3427, allocations: 109.8 kB / 0.5064 GB, free: 12.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.3427, allocations: 25.7 kB / 0.5064 GB, free: 12.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.22e-05/0.3428, allocations: 84.14 kB / 0.5065 GB, free: 12.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.3428, allocations: 11.81 kB / 0.5065 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.3428, allocations: 13.72 kB / 0.5065 GB, free: 12.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.906e-05/0.3429, allocations: 314.8 kB / 0.5068 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.3429, allocations: 11.98 kB / 0.5068 GB, free: 12.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.16e-05/0.3429, allocations: 4 kB / 0.5068 GB, free: 12.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.262e-05/0.343, allocations: 20.8 kB / 0.5069 GB, free: 12.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.343, allocations: 0 / 0.5069 GB, free: 12.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.099e-05/0.3431, allocations: 45.69 kB / 0.5069 GB, free: 12.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3431, allocations: 4 kB / 0.5069 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3431, allocations: 3.938 kB / 0.5069 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3431, allocations: 0 / 0.5069 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.62e-05/0.3432, allocations: 4 kB / 0.5069 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3432, allocations: 0 / 0.5069 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.892e-05/0.3432, allocations: 8 kB / 0.5069 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.3432, allocations: 0 / 0.5069 GB, free: 12.27 MB / 382.1 MB 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 5.767e-05/0.3433, allocations: 109.8 kB / 0.507 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.3433, allocations: 11.84 kB / 0.507 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.3434, allocations: 73.67 kB / 0.5071 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3434, allocations: 4.031 kB / 0.5071 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3435, allocations: 4 kB / 0.5071 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3435, allocations: 0 / 0.5071 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.155e-05/0.3436, allocations: 153.7 kB / 0.5073 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3436, allocations: 4 kB / 0.5073 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-05/0.3436, allocations: 7.984 kB / 0.5073 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3436, allocations: 0 / 0.5073 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.3436, allocations: 3.938 kB / 0.5073 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3436, allocations: 0 / 0.5073 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3436, allocations: 4 kB / 0.5073 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.132e-05/0.3437, allocations: 81.06 kB / 0.5074 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.3438, allocations: 89 kB / 0.5074 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.3438, allocations: 3.938 kB / 0.5074 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.828e-05/0.3438, allocations: 0 / 0.5074 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.3439, allocations: 0 / 0.5074 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.3439, allocations: 4 kB / 0.5075 GB, free: 11.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.706e-05/0.3439, allocations: 87.27 kB / 0.5075 GB, free: 11.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3439, allocations: 0 / 0.5075 GB, free: 11.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002192/0.3441, allocations: 24 kB / 0.5076 GB, free: 11.52 MB / 382.1 MB 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.000187/0.3443, allocations: 139.2 kB / 0.5077 GB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.3444, allocations: 15.92 kB / 0.5077 GB, free: 11.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3444, allocations: 0 / 0.5077 GB, free: 11.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.48e-05/0.3445, allocations: 12 kB / 0.5077 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.3447, allocations: 0 / 0.5077 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.345, allocations: 126 kB / 0.5078 GB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.3452, allocations: 0.6768 MB / 0.5085 GB, free: 10.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.335e-05/0.3452, allocations: 7.984 kB / 0.5085 GB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.3453, allocations: 15.44 kB / 0.5085 GB, free: 10.46 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3453, allocations: 0 / 0.5085 GB, free: 10.46 MB / 382.1 MB Notification: Performance of Templates: time 0.003025/0.3483, allocations: 0.7798 MB / 0.5093 GB, free: 9.688 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)