Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001222/0.001222, allocations: 190.1 kB / 16.14 MB, free: 6.703 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.348/1.348, allocations: 205.1 MB / 222 MB, free: 4.758 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.6293/0.6293, allocations: 95.47 MB / 364.8 MB, free: 10.06 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.001639/0.001639, allocations: 63.91 kB / 444.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3552, allocations: 69.07 MB / 0.5017 GB, free: 17.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002014/0.3572, allocations: 1.295 MB / 0.503 GB, free: 16.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002603/0.3575, allocations: 111.6 kB / 0.5031 GB, free: 16.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.559e-05/0.3575, allocations: 4 kB / 0.5031 GB, free: 16.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.979e-05/0.3576, allocations: 3.938 kB / 0.5031 GB, free: 16.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.057e-05/0.3576, allocations: 0 / 0.5031 GB, free: 16.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.3578, allocations: 23.91 kB / 0.5031 GB, free: 16.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.896e-05/0.3578, allocations: 19.91 kB / 0.5031 GB, free: 16.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.667e-05/0.3579, allocations: 8 kB / 0.5031 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.875e-05/0.3579, allocations: 4 kB / 0.5031 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.569e-05/0.358, allocations: 3.938 kB / 0.5031 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.358, allocations: 4 kB / 0.5031 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.3581, allocations: 51.94 kB / 0.5032 GB, free: 16.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.3581, allocations: 0 / 0.5032 GB, free: 16.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.3581, allocations: 7.922 kB / 0.5032 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.3582, allocations: 39.94 kB / 0.5032 GB, free: 16.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3583, allocations: 0 / 0.5032 GB, free: 16.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3583, allocations: 4 kB / 0.5032 GB, free: 16.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3583, allocations: 3.938 kB / 0.5032 GB, free: 16 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003443/0.3586, allocations: 341.4 kB / 0.5036 GB, free: 15.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.3587, allocations: 11.98 kB / 0.5036 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.3587, allocations: 0.9375 kB / 0.5036 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.3588, allocations: 164.4 kB / 0.5037 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.3588, allocations: 4.312 kB / 0.5037 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.3588, allocations: 384 / 0.5037 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.914e-05/0.3589, allocations: 42.25 kB / 0.5038 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3589, allocations: 4.125 kB / 0.5038 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.359, allocations: 3.938 kB / 0.5038 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.359, allocations: 0 / 0.5038 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.196e-05/0.359, allocations: 4 kB / 0.5038 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.3591, allocations: 153.7 kB / 0.5039 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.665e-05/0.3592, allocations: 22.55 kB / 0.504 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/0.3592, allocations: 16.92 kB / 0.504 GB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006281/0.3599, allocations: 0.6051 MB / 0.5046 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.3599, allocations: 30.56 kB / 0.5046 GB, free: 14.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3599, allocations: 0 / 0.5046 GB, free: 14.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001602/0.3601, allocations: 45.55 kB / 0.5046 GB, free: 14.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.3601, allocations: 51.41 kB / 0.5047 GB, free: 14.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.016e-05/0.3602, allocations: 110 kB / 0.5048 GB, free: 14.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.443e-06/0.3602, allocations: 25.7 kB / 0.5048 GB, free: 14.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.709e-05/0.3602, allocations: 84.14 kB / 0.5049 GB, free: 13.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.3602, allocations: 3.906 kB / 0.5049 GB, free: 13.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.3602, allocations: 13.72 kB / 0.5049 GB, free: 13.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.238e-05/0.3603, allocations: 322.8 kB / 0.5052 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.3603, allocations: 4 kB / 0.5052 GB, free: 13.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.637e-06/0.3603, allocations: 4 kB / 0.5052 GB, free: 13.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.425e-05/0.3604, allocations: 12.92 kB / 0.5052 GB, free: 13.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3604, allocations: 0 / 0.5052 GB, free: 13.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.778e-05/0.3604, allocations: 41.7 kB / 0.5053 GB, free: 13.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.3604, allocations: 4 kB / 0.5053 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3604, allocations: 3.938 kB / 0.5053 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.3605, allocations: 0 / 0.5053 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.688e-05/0.3605, allocations: 7.984 kB / 0.5053 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3605, allocations: 7.922 kB / 0.5053 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.759e-05/0.3605, allocations: 0 / 0.5053 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.3606, allocations: 0 / 0.5053 GB, free: 13.54 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 (2): * Single equations (assignments): 2 * 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 3.863e-05/0.3606, allocations: 113.9 kB / 0.5054 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-06/0.3606, allocations: 0 / 0.5054 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.814e-05/0.3607, allocations: 52.7 kB / 0.5055 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3607, allocations: 0 / 0.5055 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3607, allocations: 3.938 kB / 0.5055 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.3607, allocations: 3.938 kB / 0.5055 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.575e-05/0.3608, allocations: 153.7 kB / 0.5056 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.3608, allocations: 0 / 0.5056 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-05/0.3608, allocations: 8.031 kB / 0.5056 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.3608, allocations: 0 / 0.5056 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.3608, allocations: 3.938 kB / 0.5056 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3608, allocations: 4 kB / 0.5056 GB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3608, allocations: 3.938 kB / 0.5056 GB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.778e-05/0.3609, allocations: 61.12 kB / 0.5057 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.3609, allocations: 81.02 kB / 0.5058 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.3609, allocations: 7.938 kB / 0.5058 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.664e-05/0.361, allocations: 4.031 kB / 0.5058 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.361, allocations: 4 kB / 0.5058 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.361, allocations: 0 / 0.5058 GB, free: 12.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.062e-05/0.361, allocations: 83.27 kB / 0.5059 GB, free: 12.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.361, allocations: 0 / 0.5059 GB, free: 12.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001905/0.3612, allocations: 12 kB / 0.5059 GB, free: 12.84 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 (2): * Single equations (assignments): 2 * 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.0001178/0.3614, allocations: 115.2 kB / 0.506 GB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.538e-05/0.3614, allocations: 19.94 kB / 0.506 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3614, allocations: 0 / 0.506 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.808e-06/0.3614, allocations: 4 kB / 0.506 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.3617, allocations: 6.031 kB / 0.506 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002227/0.3619, allocations: 111.8 kB / 0.5061 GB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.362, allocations: 0.677 MB / 0.5068 GB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.486e-05/0.362, allocations: 4.125 kB / 0.5068 GB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.431e-05/0.3621, allocations: 11.44 kB / 0.5068 GB, free: 11.84 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3621, allocations: 0 / 0.5068 GB, free: 11.84 MB / 382.1 MB Notification: Performance of Templates: time 0.002354/0.3644, allocations: 0.5853 MB / 0.5074 GB, free: 11.25 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)