Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007859/0.007859, allocations: 102 kB / 15.73 MB, free: 6.039 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.001701/0.001701, allocations: 194 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8396/0.8396, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 68.83 kB / 0.5955 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1487, allocations: 82.02 MB / 0.6756 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.002407/0.1511, allocations: 1.545 MB / 0.6771 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003057/0.1515, allocations: 104.5 kB / 0.6772 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.544e-05/0.1515, allocations: 0 / 0.6772 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.1517, allocations: 19.86 kB / 0.6773 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.421e-05/0.1517, allocations: 11.92 kB / 0.6773 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.1519, allocations: 27.97 kB / 0.6773 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.323e-05/0.152, allocations: 55.78 kB / 0.6773 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1521, allocations: 23.98 kB / 0.6774 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.865e-05/0.1522, allocations: 19.92 kB / 0.6774 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.888e-05/0.1522, allocations: 39.83 kB / 0.6774 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.1522, allocations: 8 kB / 0.6774 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.354e-05/0.1523, allocations: 15.98 kB / 0.6774 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.1523, allocations: 8 kB / 0.6775 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.825e-05/0.1524, allocations: 27.8 kB / 0.6775 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.1525, allocations: 59.8 kB / 0.6775 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1525, allocations: 3.938 kB / 0.6775 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1525, allocations: 0 / 0.6775 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.1525, allocations: 0 / 0.6775 GB, free: 8.348 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004465/0.153, allocations: 383.3 kB / 0.6779 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.829e-05/0.153, allocations: 8.031 kB / 0.6779 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.1531, allocations: 8.844 kB / 0.6779 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.1532, allocations: 184.3 kB / 0.6781 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-06/0.1532, allocations: 384 / 0.6781 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.1532, allocations: 4.375 kB / 0.6781 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.1535, allocations: 90.08 kB / 0.6782 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.852e-06/0.1535, allocations: 4.188 kB / 0.6782 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1535, allocations: 7.938 kB / 0.6782 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1535, allocations: 0 / 0.6782 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.1538, allocations: 79.91 kB / 0.6783 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.1543, allocations: 328.6 kB / 0.6786 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.1545, allocations: 58.53 kB / 0.6786 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.1546, allocations: 44.91 kB / 0.6787 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.1546, allocations: 7.922 kB / 0.6787 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.1547, allocations: 38.56 kB / 0.6787 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1547, allocations: 0 / 0.6787 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004826/0.1552, allocations: 137.5 kB / 0.6789 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.497e-05/0.1552, allocations: 51.41 kB / 0.6789 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.751e-05/0.1553, allocations: 117.8 kB / 0.679 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.1554, allocations: 25.7 kB / 0.6791 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.1554, allocations: 99.97 kB / 0.6791 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.1554, allocations: 11.91 kB / 0.6792 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.1555, allocations: 9.719 kB / 0.6792 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.535e-05/0.1556, allocations: 326.8 kB / 0.6795 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.1557, allocations: 27.97 kB / 0.6795 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.1558, allocations: 39.95 kB / 0.6795 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.1561, allocations: 68.78 kB / 0.6796 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1561, allocations: 0 / 0.6796 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002989/0.1564, allocations: 113.5 kB / 0.6797 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1564, allocations: 9.719 kB / 0.6797 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1564, allocations: 0 / 0.6797 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.1564, allocations: 0 / 0.6797 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1566, allocations: 11.98 kB / 0.6797 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1566, allocations: 4 kB / 0.6797 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.639e-05/0.1566, allocations: 11.89 kB / 0.6798 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.1567, allocations: 7.984 kB / 0.6798 GB, free: 5.848 MB / 0.5137 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 (3): * Single equations (assignments): 3 * 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.185e-05/0.1567, allocations: 122.7 kB / 0.6799 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.1568, allocations: 0 / 0.6799 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003309/0.1571, allocations: 117.4 kB / 0.68 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1571, allocations: 0 / 0.68 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1571, allocations: 0 / 0.68 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1571, allocations: 8 kB / 0.68 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.1573, allocations: 181.6 kB / 0.6802 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1573, allocations: 0 / 0.6802 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.473e-05/0.1574, allocations: 19.98 kB / 0.6802 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1574, allocations: 7.875 kB / 0.6802 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.1574, allocations: 0 / 0.6802 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1574, allocations: 4 kB / 0.6802 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1574, allocations: 0 / 0.6802 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.1578, allocations: 207.3 kB / 0.6804 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.1578, allocations: 81.05 kB / 0.6805 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.1578, allocations: 0 / 0.6805 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.854e-05/0.1579, allocations: 20.33 kB / 0.6805 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.158, allocations: 0 / 0.6805 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.158, allocations: 4 kB / 0.6805 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.685e-05/0.158, allocations: 95.27 kB / 0.6806 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1581, allocations: 0 / 0.6806 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002272/0.1583, allocations: 15.91 kB / 0.6806 GB, free: 4.879 MB / 0.5137 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 (3): * Single equations (assignments): 3 * 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.000131/0.1584, allocations: 99.19 kB / 0.6807 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003222/0.1587, allocations: 79.89 kB / 0.6808 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1588, allocations: 4 kB / 0.6808 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.1589, allocations: 39.91 kB / 0.6808 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.1592, allocations: 11.98 kB / 0.6808 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/0.1595, allocations: 145.5 kB / 0.681 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.1598, allocations: 0.6885 MB / 0.6816 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.022e-05/0.1598, allocations: 15.97 kB / 0.6817 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.1599, allocations: 11.44 kB / 0.6817 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of SimCode: time 1.9e-07/0.1599, allocations: 0 / 0.6817 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of Templates: time 0.002706/0.1626, allocations: 0.7973 MB / 0.6824 GB, free: 2.941 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)