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.00768/0.00768, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.00173/0.00173, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.45/1.45, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.5714/0.5714, allocations: 95.49 MB / 365.4 MB, free: 9.781 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.001756/0.001757, allocations: 74.81 kB / 0.5036 GB, free: 13.59 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1456, allocations: 69.09 MB / 0.5711 GB, free: 8.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002374/0.148, allocations: 1.225 MB / 0.5723 GB, free: 7.195 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003411/0.1483, allocations: 111.6 kB / 0.5724 GB, free: 7.086 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.091e-05/0.1484, allocations: 0 / 0.5724 GB, free: 7.086 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.364e-05/0.1484, allocations: 3.938 kB / 0.5724 GB, free: 7.082 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.228e-05/0.1485, allocations: 4 kB / 0.5724 GB, free: 7.078 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.1488, allocations: 39.81 kB / 0.5724 GB, free: 7.039 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.372e-05/0.1489, allocations: 15.88 kB / 0.5724 GB, free: 7.023 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/0.149, allocations: 0 / 0.5724 GB, free: 7.023 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.643e-05/0.149, allocations: 8 kB / 0.5725 GB, free: 7.016 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.439e-05/0.1491, allocations: 7.984 kB / 0.5725 GB, free: 7.008 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.1491, allocations: 7.984 kB / 0.5725 GB, free: 7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.1492, allocations: 47.95 kB / 0.5725 GB, free: 6.953 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.1493, allocations: 7.922 kB / 0.5725 GB, free: 6.945 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.1493, allocations: 4 kB / 0.5725 GB, free: 6.941 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.1494, allocations: 43.83 kB / 0.5726 GB, free: 6.898 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1494, allocations: 0 / 0.5726 GB, free: 6.898 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1494, allocations: 0 / 0.5726 GB, free: 6.898 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1495, allocations: 0 / 0.5726 GB, free: 6.898 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.000433/0.1499, allocations: 327.9 kB / 0.5729 GB, free: 6.527 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.1499, allocations: 15.98 kB / 0.5729 GB, free: 6.512 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.15, allocations: 0.9375 kB / 0.5729 GB, free: 6.512 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.1501, allocations: 164.3 kB / 0.5731 GB, free: 6.312 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.1501, allocations: 384 / 0.5731 GB, free: 6.312 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.1502, allocations: 4.375 kB / 0.5731 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.332e-05/0.1502, allocations: 34.25 kB / 0.5731 GB, free: 6.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1503, allocations: 8.125 kB / 0.5731 GB, free: 6.262 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1503, allocations: 3.938 kB / 0.5731 GB, free: 6.258 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1503, allocations: 0 / 0.5731 GB, free: 6.258 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.149e-05/0.1503, allocations: 8 kB / 0.5731 GB, free: 6.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.1505, allocations: 153.7 kB / 0.5733 GB, free: 6.051 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.424e-05/0.1506, allocations: 22.61 kB / 0.5733 GB, free: 6.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.402e-05/0.1506, allocations: 8.859 kB / 0.5733 GB, free: 6.008 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007467/0.1514, allocations: 0.613 MB / 0.5739 GB, free: 5.266 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.1514, allocations: 34.56 kB / 0.5739 GB, free: 5.223 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.1514, allocations: 0 / 0.5739 GB, free: 5.223 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001352/0.1515, allocations: 49.58 kB / 0.574 GB, free: 5.168 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.1516, allocations: 51.41 kB / 0.574 GB, free: 5.105 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.577e-05/0.1517, allocations: 97.84 kB / 0.5741 GB, free: 5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.1517, allocations: 25.7 kB / 0.5741 GB, free: 4.969 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.1e-05/0.1517, allocations: 84.14 kB / 0.5742 GB, free: 4.883 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.1517, allocations: 11.84 kB / 0.5742 GB, free: 4.871 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.1518, allocations: 17.78 kB / 0.5742 GB, free: 4.848 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.259e-05/0.1519, allocations: 318.8 kB / 0.5745 GB, free: 4.527 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.1519, allocations: 8 kB / 0.5746 GB, free: 4.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.967e-06/0.1519, allocations: 4 kB / 0.5746 GB, free: 4.516 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.079e-05/0.152, allocations: 12.8 kB / 0.5746 GB, free: 4.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.152, allocations: 0 / 0.5746 GB, free: 4.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.637e-05/0.152, allocations: 37.7 kB / 0.5746 GB, free: 4.457 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.152, allocations: 8.094 kB / 0.5746 GB, free: 4.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.1521, allocations: 11.92 kB / 0.5746 GB, free: 4.438 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1521, allocations: 0 / 0.5746 GB, free: 4.438 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.019e-05/0.1521, allocations: 0 / 0.5746 GB, free: 4.438 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/0.1521, allocations: 4 kB / 0.5746 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.821e-05/0.1522, allocations: 0 / 0.5746 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.1522, allocations: 0 / 0.5746 GB, free: 4.434 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 7.619e-05/0.1523, allocations: 105.8 kB / 0.5747 GB, free: 4.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.796e-06/0.1523, allocations: 4 kB / 0.5747 GB, free: 4.316 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.81e-05/0.1524, allocations: 60.83 kB / 0.5748 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1524, allocations: 0 / 0.5748 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1524, allocations: 3.984 kB / 0.5748 GB, free: 4.242 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1524, allocations: 0 / 0.5748 GB, free: 4.242 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.1526, allocations: 153.7 kB / 0.5749 GB, free: 4.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1526, allocations: 0 / 0.5749 GB, free: 4.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.207e-05/0.1526, allocations: 4 kB / 0.5749 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.1526, allocations: 0 / 0.5749 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1526, allocations: 3.938 kB / 0.5749 GB, free: 4.035 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.1526, allocations: 3.984 kB / 0.575 GB, free: 4.031 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1526, allocations: 0 / 0.575 GB, free: 4.031 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.935e-05/0.1527, allocations: 77 kB / 0.575 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.726e-05/0.1528, allocations: 77.11 kB / 0.5751 GB, free: 3.844 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.1528, allocations: 3.938 kB / 0.5751 GB, free: 3.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.634e-05/0.1528, allocations: 0 / 0.5751 GB, free: 3.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.1528, allocations: 0 / 0.5751 GB, free: 3.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.1529, allocations: 8 kB / 0.5751 GB, free: 3.832 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.078e-05/0.1529, allocations: 87.3 kB / 0.5752 GB, free: 3.746 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1529, allocations: 0 / 0.5752 GB, free: 3.746 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001997/0.1531, allocations: 16 kB / 0.5752 GB, free: 3.73 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.0002036/0.1533, allocations: 119.2 kB / 0.5753 GB, free: 3.602 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.452e-05/0.1534, allocations: 4 kB / 0.5753 GB, free: 3.598 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1534, allocations: 0 / 0.5753 GB, free: 3.598 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.443e-05/0.1534, allocations: 11.94 kB / 0.5753 GB, free: 3.586 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.1537, allocations: 16.05 kB / 0.5754 GB, free: 3.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002768/0.1539, allocations: 98.14 kB / 0.5754 GB, free: 3.449 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.1543, allocations: 0.6768 MB / 0.5761 GB, free: 2.746 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.407e-05/0.1543, allocations: 0 / 0.5761 GB, free: 2.746 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.859e-05/0.1543, allocations: 11.44 kB / 0.5761 GB, free: 2.734 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1543, allocations: 0 / 0.5761 GB, free: 2.734 MB / 446.1 MB Notification: Performance of Templates: time 0.003226/0.1575, allocations: 0.5968 MB / 0.5767 GB, free: 2.141 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)