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.001153/0.001153, 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.001201/0.001201, allocations: 192.4 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.421/1.421, allocations: 205.1 MB / 222.4 MB, free: 4.402 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.673/1.673, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.002154/0.002154, allocations: 67.22 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2546, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002225/0.2568, allocations: 1.235 MB / 0.7846 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002876/0.2571, allocations: 135.4 kB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.226e-05/0.2572, allocations: 0 / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.562e-05/0.2572, allocations: 0 / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-05/0.2573, allocations: 3.938 kB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.2575, allocations: 39.88 kB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.324e-05/0.2575, allocations: 11.94 kB / 0.7848 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.783e-05/0.2576, allocations: 8 kB / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.91e-05/0.2576, allocations: 7.984 kB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.111e-05/0.2576, allocations: 3.938 kB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.2576, allocations: 0 / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.2578, allocations: 59.94 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.2578, allocations: 3.984 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.2578, allocations: 4 kB / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.898e-05/0.2579, allocations: 36.17 kB / 0.7849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2579, allocations: 0 / 0.7849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2579, allocations: 0 / 0.7849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2579, allocations: 0 / 0.7849 GB, free: 11.94 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.0003383/0.2583, allocations: 343.4 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.2583, allocations: 8.031 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.2584, allocations: 0.9375 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.2585, allocations: 172.3 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.2585, allocations: 384 / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-06/0.2585, allocations: 384 / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.468e-05/0.2586, allocations: 30.27 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.2586, allocations: 192 / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2586, allocations: 11.92 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2586, allocations: 0 / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.781e-05/0.2586, allocations: 4 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.2588, allocations: 153.7 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.516e-05/0.2588, allocations: 26.52 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.537e-05/0.2589, allocations: 12.91 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000679/0.2596, allocations: 0.609 MB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.2596, allocations: 30.56 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.2596, allocations: 0 / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001361/0.2597, allocations: 45.62 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.2598, allocations: 51.41 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.167e-05/0.2598, allocations: 97.86 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.2599, allocations: 29.7 kB / 0.7864 GB, free: 10 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.2599, allocations: 96.17 kB / 0.7865 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.2599, allocations: 7.844 kB / 0.7865 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.26, allocations: 21.66 kB / 0.7866 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2601, allocations: 310.8 kB / 0.7869 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.102e-05/0.2601, allocations: 0 / 0.7869 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.588e-06/0.2601, allocations: 4 kB / 0.7869 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.692e-05/0.2601, allocations: 12.86 kB / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2601, allocations: 0 / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.683e-05/0.2602, allocations: 45.75 kB / 0.7869 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.2602, allocations: 4 kB / 0.7869 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2602, allocations: 3.938 kB / 0.7869 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.2602, allocations: 0 / 0.7869 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.657e-05/0.2603, allocations: 7.938 kB / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.2603, allocations: 0 / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.659e-05/0.2603, allocations: 0 / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.2603, allocations: 4 kB / 0.7869 GB, free: 9.469 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 6.564e-05/0.2604, allocations: 113.8 kB / 0.787 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-06/0.2604, allocations: 7.938 kB / 0.787 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.394e-05/0.2605, allocations: 48.75 kB / 0.7871 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2605, allocations: 0 / 0.7871 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2605, allocations: 3.984 kB / 0.7871 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2605, allocations: 0 / 0.7871 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.971e-05/0.2606, allocations: 149.7 kB / 0.7872 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2606, allocations: 4 kB / 0.7872 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.248e-05/0.2607, allocations: 7.984 kB / 0.7873 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.2607, allocations: 0 / 0.7873 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.2607, allocations: 7.969 kB / 0.7873 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.2607, allocations: 7.938 kB / 0.7873 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2607, allocations: 0 / 0.7873 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.618e-05/0.2608, allocations: 61.08 kB / 0.7873 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.2608, allocations: 81.09 kB / 0.7874 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.2608, allocations: 3.938 kB / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.563e-05/0.2609, allocations: 4 kB / 0.7874 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.378e-05/0.2609, allocations: 32 / 0.7874 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.2609, allocations: 4 kB / 0.7874 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.327e-05/0.2609, allocations: 79.28 kB / 0.7875 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2609, allocations: 0 / 0.7875 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000207/0.2611, allocations: 12 kB / 0.7875 GB, free: 8.777 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.0001495/0.2613, allocations: 115.2 kB / 0.7876 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.461e-05/0.2614, allocations: 11.94 kB / 0.7876 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2614, allocations: 0 / 0.7876 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.431e-05/0.2614, allocations: 12.05 kB / 0.7876 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.2616, allocations: 11.94 kB / 0.7876 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002412/0.2619, allocations: 110.9 kB / 0.7878 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.2621, allocations: 0.669 MB / 0.7884 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.62e-05/0.2621, allocations: 8.062 kB / 0.7884 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.546e-05/0.2622, allocations: 11.42 kB / 0.7884 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2622, allocations: 0 / 0.7884 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of Templates: time 0.002401/0.2646, allocations: 0.6006 MB / 0.789 GB, free: 7.176 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)