Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001436/0.001436, allocations: 105.4 kB / 15.7 MB, free: 20 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.00176/0.00176, allocations: 193 kB / 16.64 MB, free: 6.59 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.46/1.46, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.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.8/1.8, allocations: 292.3 MB / 0.549 GB, free: 12.79 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.002241/0.002241, allocations: 72.22 kB / 0.6723 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2439, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002407/0.2463, allocations: 1.252 MB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002945/0.2466, allocations: 123.5 kB / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.2467, allocations: 0 / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.143e-05/0.2467, allocations: 0 / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.906e-05/0.2468, allocations: 11.92 kB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.2471, allocations: 35.89 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.242e-05/0.2471, allocations: 15.94 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.044e-05/0.2472, allocations: 0 / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.545e-05/0.2472, allocations: 11.97 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.096e-05/0.2473, allocations: 7.938 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.2473, allocations: 0 / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.2474, allocations: 51.94 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.107e-05/0.2475, allocations: 4 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.2475, allocations: 4 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.2476, allocations: 39.89 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2476, allocations: 0 / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.634e-06/0.2476, allocations: 0 / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.2476, allocations: 0 / 0.7856 GB, free: 11.19 MB / 0.6075 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.0003863/0.248, allocations: 331.4 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.2481, allocations: 8.031 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.2481, allocations: 0.9375 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.2482, allocations: 184.3 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.2483, allocations: 4.375 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.2483, allocations: 384 / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.329e-05/0.2483, allocations: 30.27 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.2484, allocations: 192 / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.2484, allocations: 3.938 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2484, allocations: 0 / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.957e-05/0.2484, allocations: 4 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.2486, allocations: 153.7 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.942e-05/0.2486, allocations: 26.55 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.2487, allocations: 16.86 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006903/0.2494, allocations: 0.6051 MB / 0.787 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.2494, allocations: 30.56 kB / 0.787 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.2494, allocations: 3.938 kB / 0.787 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001378/0.2496, allocations: 53.62 kB / 0.787 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.2496, allocations: 55.34 kB / 0.7871 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.513e-05/0.2497, allocations: 97.86 kB / 0.7872 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.2497, allocations: 25.7 kB / 0.7872 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.977e-05/0.2497, allocations: 80.14 kB / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.2498, allocations: 7.844 kB / 0.7873 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.2498, allocations: 17.7 kB / 0.7873 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2499, allocations: 314.8 kB / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.2499, allocations: 8.125 kB / 0.7876 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-06/0.2499, allocations: 0 / 0.7876 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.888e-05/0.25, allocations: 12.86 kB / 0.7876 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.25, allocations: 4 kB / 0.7876 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.114e-05/0.2501, allocations: 37.69 kB / 0.7877 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.2501, allocations: 4 kB / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2501, allocations: 7.875 kB / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.2501, allocations: 0 / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.489e-05/0.2502, allocations: 8.094 kB / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2502, allocations: 4 kB / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.726e-05/0.2502, allocations: 0 / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.2502, allocations: 4 kB / 0.7877 GB, free: 8.719 MB / 0.6075 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 0.0001013/0.2503, allocations: 110.5 kB / 0.7878 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-06/0.2503, allocations: 3.906 kB / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.2504, allocations: 48.75 kB / 0.7879 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.2505, allocations: 4 kB / 0.7879 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2505, allocations: 0 / 0.7879 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2505, allocations: 4.031 kB / 0.7879 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.2506, allocations: 149.7 kB / 0.788 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2506, allocations: 0 / 0.788 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.2506, allocations: 3.938 kB / 0.788 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2506, allocations: 4 kB / 0.788 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.2507, allocations: 3.938 kB / 0.788 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2507, allocations: 0 / 0.788 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2507, allocations: 0 / 0.788 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.508e-05/0.2508, allocations: 65.12 kB / 0.7881 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.2508, allocations: 85.11 kB / 0.7882 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.2508, allocations: 7.875 kB / 0.7882 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.604e-05/0.2509, allocations: 0 / 0.7882 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.351e-05/0.2509, allocations: 4.172 kB / 0.7882 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.2509, allocations: 3.938 kB / 0.7882 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.965e-05/0.2509, allocations: 83.27 kB / 0.7883 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2509, allocations: 0 / 0.7883 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000204/0.2511, allocations: 16 kB / 0.7883 GB, free: 8.027 MB / 0.6075 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.000184/0.2513, allocations: 114.5 kB / 0.7884 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.742e-05/0.2514, allocations: 15.94 kB / 0.7884 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2514, allocations: 0 / 0.7884 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.294e-05/0.2514, allocations: 4 kB / 0.7884 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.2517, allocations: 10.64 kB / 0.7884 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.252, allocations: 114 kB / 0.7885 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.2522, allocations: 0.6768 MB / 0.7892 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.525e-05/0.2523, allocations: 0 / 0.7892 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.891e-05/0.2523, allocations: 11.44 kB / 0.7892 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2523, allocations: 3.938 kB / 0.7892 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of Templates: time 0.002584/0.2549, allocations: 0.5938 MB / 0.7898 GB, free: 6.434 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)