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.006712/0.00672, allocations: 106.2 kB / 15.74 MB, free: 6 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.001563/0.001563, allocations: 199 kB / 16.68 MB, free: 5.918 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.414/1.414, allocations: 205.1 MB / 222.5 MB, free: 4.324 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.5776/0.5776, allocations: 95.49 MB / 365.4 MB, free: 9.688 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.001411/0.001411, allocations: 74.39 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1174, allocations: 69.09 MB / 0.5711 GB, free: 8.324 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002051/0.1195, allocations: 1.234 MB / 0.5723 GB, free: 7.078 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002526/0.1197, allocations: 107.6 kB / 0.5724 GB, free: 6.973 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.417e-05/0.1198, allocations: 0 / 0.5724 GB, free: 6.973 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.626e-05/0.1198, allocations: 0 / 0.5724 GB, free: 6.973 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.836e-05/0.1199, allocations: 3.938 kB / 0.5724 GB, free: 6.969 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.1201, allocations: 39.88 kB / 0.5724 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.882e-05/0.1201, allocations: 15.86 kB / 0.5724 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.1202, allocations: 4 kB / 0.5724 GB, free: 6.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.936e-05/0.1202, allocations: 12 kB / 0.5725 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.224e-05/0.1203, allocations: 0 / 0.5725 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.1203, allocations: 4 kB / 0.5725 GB, free: 6.895 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.1204, allocations: 47.94 kB / 0.5725 GB, free: 6.848 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.1204, allocations: 11.92 kB / 0.5725 GB, free: 6.836 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.7e-05/0.1204, allocations: 0 / 0.5725 GB, free: 6.836 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.1205, allocations: 47.81 kB / 0.5726 GB, free: 6.789 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1205, allocations: 3.938 kB / 0.5726 GB, free: 6.785 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1206, allocations: 0 / 0.5726 GB, free: 6.785 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1206, allocations: 0 / 0.5726 GB, free: 6.785 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.00035/0.1209, allocations: 335.9 kB / 0.5729 GB, free: 6.406 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.121, allocations: 11.98 kB / 0.5729 GB, free: 6.395 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/0.121, allocations: 0.9375 kB / 0.5729 GB, free: 6.395 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.1211, allocations: 168.3 kB / 0.5731 GB, free: 6.191 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1211, allocations: 384 / 0.5731 GB, free: 6.191 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.1212, allocations: 384 / 0.5731 GB, free: 6.191 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.371e-05/0.1212, allocations: 38.25 kB / 0.5731 GB, free: 6.148 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.1212, allocations: 192 / 0.5731 GB, free: 6.148 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.1213, allocations: 7.938 kB / 0.5731 GB, free: 6.141 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1213, allocations: 0 / 0.5731 GB, free: 6.141 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.92e-05/0.1213, allocations: 4 kB / 0.5731 GB, free: 6.137 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.1214, allocations: 153.7 kB / 0.5733 GB, free: 5.938 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.647e-05/0.1215, allocations: 22.55 kB / 0.5733 GB, free: 5.906 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/0.1215, allocations: 12.92 kB / 0.5733 GB, free: 5.891 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006599/0.1222, allocations: 0.6091 MB / 0.5739 GB, free: 5.152 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.1222, allocations: 34.55 kB / 0.5739 GB, free: 5.109 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1222, allocations: 0 / 0.5739 GB, free: 5.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001296/0.1224, allocations: 45.62 kB / 0.574 GB, free: 5.059 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.1224, allocations: 59.34 kB / 0.574 GB, free: 4.988 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.766e-05/0.1225, allocations: 97.84 kB / 0.5741 GB, free: 4.883 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.1225, allocations: 25.7 kB / 0.5741 GB, free: 4.852 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.1225, allocations: 84.25 kB / 0.5742 GB, free: 4.766 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.1226, allocations: 15.84 kB / 0.5742 GB, free: 4.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.1226, allocations: 17.66 kB / 0.5742 GB, free: 4.727 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.438e-05/0.1227, allocations: 310.8 kB / 0.5745 GB, free: 4.414 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.1227, allocations: 0 / 0.5745 GB, free: 4.414 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.047e-05/0.1227, allocations: 11.98 kB / 0.5746 GB, free: 4.402 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.664e-05/0.1228, allocations: 8.859 kB / 0.5746 GB, free: 4.391 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1228, allocations: 0 / 0.5746 GB, free: 4.391 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.546e-05/0.1228, allocations: 49.7 kB / 0.5746 GB, free: 4.336 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.1228, allocations: 4 kB / 0.5746 GB, free: 4.332 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1229, allocations: 3.938 kB / 0.5746 GB, free: 4.328 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.1229, allocations: 0 / 0.5746 GB, free: 4.328 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.304e-05/0.1229, allocations: 4 kB / 0.5746 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.1229, allocations: 4 kB / 0.5746 GB, free: 4.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.88e-05/0.123, allocations: 3.984 kB / 0.5746 GB, free: 4.316 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-06/0.123, allocations: 0 / 0.5746 GB, free: 4.316 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.722e-05/0.123, allocations: 109.8 kB / 0.5747 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.505e-06/0.123, allocations: 4.031 kB / 0.5747 GB, free: 4.195 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.452e-05/0.1231, allocations: 56.64 kB / 0.5748 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1231, allocations: 0 / 0.5748 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1231, allocations: 0 / 0.5748 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1232, allocations: 4 kB / 0.5748 GB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.326e-05/0.1232, allocations: 149.7 kB / 0.5749 GB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.1233, allocations: 7.938 kB / 0.5749 GB, free: 3.922 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.012e-05/0.1233, allocations: 0 / 0.5749 GB, free: 3.922 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.1233, allocations: 0 / 0.5749 GB, free: 3.922 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.1233, allocations: 7.938 kB / 0.575 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1233, allocations: 4.031 kB / 0.575 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1233, allocations: 0 / 0.575 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.562e-05/0.1234, allocations: 65.03 kB / 0.575 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.972e-05/0.1234, allocations: 77.11 kB / 0.5751 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.1234, allocations: 7.938 kB / 0.5751 GB, free: 3.727 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.634e-05/0.1235, allocations: 0 / 0.5751 GB, free: 3.727 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.457e-06/0.1235, allocations: 0 / 0.5751 GB, free: 3.727 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-06/0.1235, allocations: 4.031 kB / 0.5751 GB, free: 3.723 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.881e-05/0.1235, allocations: 83.28 kB / 0.5752 GB, free: 3.641 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1235, allocations: 0 / 0.5752 GB, free: 3.641 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001939/0.1237, allocations: 19.98 kB / 0.5752 GB, free: 3.621 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.0001315/0.1239, allocations: 118.6 kB / 0.5753 GB, free: 3.496 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.239e-05/0.124, allocations: 11.98 kB / 0.5753 GB, free: 3.484 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.124, allocations: 0 / 0.5753 GB, free: 3.484 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.325e-05/0.124, allocations: 12.06 kB / 0.5753 GB, free: 3.473 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.1242, allocations: 4 kB / 0.5753 GB, free: 3.469 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/0.1244, allocations: 102.1 kB / 0.5754 GB, free: 3.344 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.1247, allocations: 0.6767 MB / 0.5761 GB, free: 2.641 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.327e-05/0.1247, allocations: 4 kB / 0.5761 GB, free: 2.637 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.52e-05/0.1247, allocations: 7.438 kB / 0.5761 GB, free: 2.629 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1247, allocations: 4.062 kB / 0.5761 GB, free: 2.625 MB / 446.1 MB Notification: Performance of Templates: time 0.002378/0.1271, allocations: 0.5933 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)