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.005462/0.005462, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001174/0.001174, allocations: 187.4 kB / 16.67 MB, free: 5.887 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.371/1.371, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.5784/0.5784, allocations: 95.48 MB / 365.4 MB, free: 9.77 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.002591/0.002591, allocations: 74.55 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1512, allocations: 69.09 MB / 0.5711 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002194/0.1535, allocations: 1.222 MB / 0.5723 GB, free: 7.094 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002721/0.1538, allocations: 111.6 kB / 0.5724 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.181e-05/0.1538, allocations: 0 / 0.5724 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.1538, allocations: 0 / 0.5724 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.566e-05/0.1539, allocations: 3.938 kB / 0.5724 GB, free: 6.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.1542, allocations: 39.89 kB / 0.5724 GB, free: 6.941 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.106e-05/0.1542, allocations: 19.86 kB / 0.5724 GB, free: 6.922 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.729e-05/0.1543, allocations: 0 / 0.5724 GB, free: 6.922 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.873e-05/0.1543, allocations: 8 kB / 0.5724 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.901e-05/0.1544, allocations: 15.92 kB / 0.5725 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.1544, allocations: 0 / 0.5725 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.1545, allocations: 47.89 kB / 0.5725 GB, free: 6.852 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.1545, allocations: 7.922 kB / 0.5725 GB, free: 6.844 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.1546, allocations: 8 kB / 0.5725 GB, free: 6.836 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.1547, allocations: 43.81 kB / 0.5726 GB, free: 6.793 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1547, allocations: 0 / 0.5726 GB, free: 6.793 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.1547, allocations: 4 kB / 0.5726 GB, free: 6.789 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1547, allocations: 0 / 0.5726 GB, free: 6.789 MB / 446.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.0004172/0.1551, allocations: 327.9 kB / 0.5729 GB, free: 6.418 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.1552, allocations: 11.98 kB / 0.5729 GB, free: 6.406 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.1552, allocations: 4.938 kB / 0.5729 GB, free: 6.402 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.1553, allocations: 164.3 kB / 0.5731 GB, free: 6.203 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.1554, allocations: 384 / 0.5731 GB, free: 6.203 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-06/0.1554, allocations: 384 / 0.5731 GB, free: 6.203 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.394e-05/0.1555, allocations: 34.25 kB / 0.5731 GB, free: 6.164 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.1555, allocations: 192 / 0.5731 GB, free: 6.164 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1555, allocations: 11.94 kB / 0.5731 GB, free: 6.152 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.1555, allocations: 4 kB / 0.5731 GB, free: 6.148 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.563e-05/0.1555, allocations: 7.938 kB / 0.5731 GB, free: 6.141 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.1557, allocations: 149.7 kB / 0.5733 GB, free: 5.945 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.076e-05/0.1558, allocations: 26.61 kB / 0.5733 GB, free: 5.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.1558, allocations: 8.859 kB / 0.5733 GB, free: 5.898 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007202/0.1565, allocations: 0.613 MB / 0.5739 GB, free: 5.156 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.1565, allocations: 30.56 kB / 0.5739 GB, free: 5.117 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.1565, allocations: 0 / 0.5739 GB, free: 5.117 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001446/0.1567, allocations: 45.58 kB / 0.574 GB, free: 5.066 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.1567, allocations: 51.41 kB / 0.574 GB, free: 5.004 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.548e-05/0.1568, allocations: 105.8 kB / 0.5741 GB, free: 4.891 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.1568, allocations: 25.7 kB / 0.5741 GB, free: 4.859 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.1569, allocations: 84.27 kB / 0.5742 GB, free: 4.773 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.1569, allocations: 15.78 kB / 0.5742 GB, free: 4.758 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.157, allocations: 13.72 kB / 0.5742 GB, free: 4.738 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1571, allocations: 314.8 kB / 0.5745 GB, free: 4.422 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.287e-05/0.1571, allocations: 4 kB / 0.5745 GB, free: 4.418 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.206e-06/0.1571, allocations: 0 / 0.5745 GB, free: 4.418 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.205e-05/0.1571, allocations: 16.86 kB / 0.5746 GB, free: 4.398 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1571, allocations: 0 / 0.5746 GB, free: 4.398 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.01e-05/0.1572, allocations: 45.7 kB / 0.5746 GB, free: 4.348 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1572, allocations: 4 kB / 0.5746 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.1572, allocations: 7.922 kB / 0.5746 GB, free: 4.336 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1573, allocations: 0 / 0.5746 GB, free: 4.336 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.524e-05/0.1573, allocations: 7.938 kB / 0.5746 GB, free: 4.328 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1573, allocations: 0 / 0.5746 GB, free: 4.328 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/0.1573, allocations: 4 kB / 0.5746 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.1574, allocations: 0 / 0.5746 GB, free: 4.324 MB / 446.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 5.721e-05/0.1574, allocations: 105.8 kB / 0.5747 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-06/0.1574, allocations: 4.031 kB / 0.5747 GB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.489e-05/0.1575, allocations: 60.64 kB / 0.5748 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1575, allocations: 0 / 0.5748 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1575, allocations: 0 / 0.5748 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1576, allocations: 0 / 0.5748 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.736e-05/0.1577, allocations: 153.7 kB / 0.5749 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1577, allocations: 0 / 0.5749 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.232e-05/0.1577, allocations: 4 kB / 0.5749 GB, free: 3.934 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.1577, allocations: 0 / 0.5749 GB, free: 3.934 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.1577, allocations: 3.938 kB / 0.5749 GB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1577, allocations: 4.031 kB / 0.575 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1577, allocations: 0 / 0.575 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.348e-05/0.1578, allocations: 69.03 kB / 0.575 GB, free: 3.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.1578, allocations: 77.11 kB / 0.5751 GB, free: 3.746 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.1579, allocations: 3.938 kB / 0.5751 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.795e-05/0.1579, allocations: 4 kB / 0.5751 GB, free: 3.738 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.1579, allocations: 3.938 kB / 0.5751 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1579, allocations: 8.031 kB / 0.5751 GB, free: 3.727 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.347e-05/0.158, allocations: 83.27 kB / 0.5752 GB, free: 3.645 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.158, allocations: 0 / 0.5752 GB, free: 3.645 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002181/0.1582, allocations: 19.94 kB / 0.5752 GB, free: 3.625 MB / 446.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.0001427/0.1583, allocations: 111.2 kB / 0.5753 GB, free: 3.504 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.776e-05/0.1584, allocations: 8 kB / 0.5753 GB, free: 3.496 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1584, allocations: 0 / 0.5753 GB, free: 3.496 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.361e-05/0.1584, allocations: 8.062 kB / 0.5753 GB, free: 3.488 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.1587, allocations: 11.98 kB / 0.5753 GB, free: 3.477 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002497/0.1589, allocations: 106.1 kB / 0.5754 GB, free: 3.348 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.1592, allocations: 0.6768 MB / 0.5761 GB, free: 2.645 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.399e-05/0.1592, allocations: 3.984 kB / 0.5761 GB, free: 2.641 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.629e-05/0.1592, allocations: 11.5 kB / 0.5761 GB, free: 2.629 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1592, allocations: 4 kB / 0.5761 GB, free: 2.625 MB / 446.1 MB Notification: Performance of Templates: time 0.002785/0.162, allocations: 0.5965 MB / 0.5767 GB, free: 2.035 MB / 446.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)