Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.468/1.468, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000973/0.000973, allocations: 183.2 kB / 327.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.4 MB / 0.5786 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000942/0.0009422, allocations: 92.11 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003204, allocations: 8.375 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2536, allocations: 106.3 MB / 0.9014 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001546/0.2552, allocations: 0.9776 MB / 0.9024 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003352/0.2556, allocations: 128.8 kB / 0.9025 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.702e-05/0.2556, allocations: 0 / 0.9025 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.2556, allocations: 0 / 0.9025 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.583e-05/0.2557, allocations: 7.969 kB / 0.9025 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.2559, allocations: 23.91 kB / 0.9026 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.009e-05/0.256, allocations: 15.94 kB / 0.9026 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.256, allocations: 0 / 0.9026 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.439e-05/0.2561, allocations: 11.94 kB / 0.9026 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.252e-05/0.2561, allocations: 7.984 kB / 0.9026 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.2562, allocations: 0 / 0.9026 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.2563, allocations: 51.94 kB / 0.9026 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.2563, allocations: 3.984 kB / 0.9026 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.2564, allocations: 33.64 kB / 0.9027 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.883e-05/0.2565, allocations: 19.97 kB / 0.9027 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2565, allocations: 0 / 0.9027 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2565, allocations: 0 / 0.9027 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.2565, allocations: 4 kB / 0.9027 GB, free: 62.25 MB / 0.6042 GB 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.000351/0.2569, allocations: 331.7 kB / 0.903 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.2569, allocations: 12.03 kB / 0.903 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.257, allocations: 0.9375 kB / 0.903 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.2571, allocations: 164.3 kB / 0.9032 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.2571, allocations: 4.375 kB / 0.9032 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.2571, allocations: 384 / 0.9032 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.502e-05/0.2572, allocations: 38.25 kB / 0.9032 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2573, allocations: 4.172 kB / 0.9032 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.2573, allocations: 7.938 kB / 0.9032 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2573, allocations: 0 / 0.9032 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.889e-05/0.2573, allocations: 4 kB / 0.9032 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.2575, allocations: 157.6 kB / 0.9034 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.985e-05/0.2576, allocations: 22.52 kB / 0.9034 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/0.2576, allocations: 12.92 kB / 0.9034 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006884/0.2583, allocations: 0.613 MB / 0.904 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.2583, allocations: 30.56 kB / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.2583, allocations: 0 / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001758/0.2585, allocations: 53.53 kB / 0.9041 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.2586, allocations: 51.41 kB / 0.9041 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.433e-05/0.2586, allocations: 93.86 kB / 0.9042 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.2587, allocations: 33.7 kB / 0.9043 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.315e-05/0.2587, allocations: 88.14 kB / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.2587, allocations: 0 / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/0.2587, allocations: 0 / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.048e-05/0.2588, allocations: 318.8 kB / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.2588, allocations: 0 / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.168e-05/0.2588, allocations: 8 kB / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.272e-05/0.2589, allocations: 8.859 kB / 0.9047 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2589, allocations: 64 / 0.9047 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.197e-05/0.259, allocations: 49.61 kB / 0.9047 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.259, allocations: 11.98 kB / 0.9047 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.259, allocations: 3.938 kB / 0.9047 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.259, allocations: 0 / 0.9047 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.085e-05/0.2591, allocations: 7.938 kB / 0.9047 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2591, allocations: 0 / 0.9047 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.355e-05/0.2591, allocations: 0 / 0.9047 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.2591, allocations: 0 / 0.9047 GB, free: 59.8 MB / 0.6042 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 (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 5.56e-05/0.2592, allocations: 109.9 kB / 0.9049 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.2592, allocations: 4 kB / 0.9049 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.2593, allocations: 52.73 kB / 0.9049 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2594, allocations: 0 / 0.9049 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.2594, allocations: 0 / 0.9049 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2594, allocations: 0 / 0.9049 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.438e-05/0.2595, allocations: 153.7 kB / 0.9051 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2595, allocations: 0 / 0.9051 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.734e-05/0.2595, allocations: 4 kB / 0.9051 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2595, allocations: 3.938 kB / 0.9051 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.2595, allocations: 11.91 kB / 0.9051 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2595, allocations: 0 / 0.9051 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2595, allocations: 0 / 0.9051 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.726e-05/0.2596, allocations: 65.12 kB / 0.9051 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/0.2597, allocations: 77.11 kB / 0.9052 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.2597, allocations: 3.938 kB / 0.9052 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.18e-05/0.2597, allocations: 0 / 0.9052 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.2597, allocations: 4.031 kB / 0.9052 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.2597, allocations: 7.984 kB / 0.9052 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.515e-05/0.2598, allocations: 83.28 kB / 0.9053 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/0.2598, allocations: 0 / 0.9053 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002963/0.2601, allocations: 16 kB / 0.9053 GB, free: 59.11 MB / 0.6042 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 (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.0001501/0.2603, allocations: 115.2 kB / 0.9054 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.357e-05/0.2603, allocations: 7.938 kB / 0.9054 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2603, allocations: 4 kB / 0.9054 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.366e-05/0.2604, allocations: 12 kB / 0.9054 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.2607, allocations: 4 kB / 0.9055 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002605/0.2609, allocations: 144.3 kB / 0.9056 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.225e-05/0.261, allocations: 0.6735 MB / 0.9062 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.774e-05/0.2611, allocations: 7.438 kB / 0.9063 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.2611, allocations: 0 / 0.9063 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of Templates: time 0.002243/0.2633, allocations: 0.6078 MB / 0.9068 GB, free: 57.47 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)