Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 98.88 kB / 16.02 MB, free: 76 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.001633/0.001634, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.419/1.419, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.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.9898/0.9898, allocations: 143.2 MB / 435.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003297/0.0003298, allocations: 11.98 kB / 0.5171 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1501, allocations: 83.41 MB / 0.5985 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007086/0.1508, allocations: 315 kB / 0.5988 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002596/0.1511, allocations: 39.88 kB / 0.5989 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.511e-05/0.1511, allocations: 0 / 0.5989 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.1511, allocations: 4 kB / 0.5989 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.259e-05/0.1512, allocations: 0 / 0.5989 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.1513, allocations: 11.98 kB / 0.5989 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.02e-05/0.1514, allocations: 0 / 0.5989 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.1514, allocations: 4 kB / 0.5989 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.869e-05/0.1515, allocations: 4 kB / 0.5989 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.345e-05/0.1515, allocations: 11.86 kB / 0.5989 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.1515, allocations: 4 kB / 0.5989 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.336e-05/0.1516, allocations: 19.98 kB / 0.5989 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.662e-05/0.1516, allocations: 3.984 kB / 0.5989 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.602e-05/0.1517, allocations: 33.64 kB / 0.5989 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.294e-05/0.1517, allocations: 7.984 kB / 0.599 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1518, allocations: 0 / 0.599 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.654e-06/0.1518, allocations: 4 kB / 0.599 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.966e-06/0.1518, allocations: 0 / 0.599 GB, free: 7.176 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002958/0.1521, allocations: 349.3 kB / 0.5993 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1521, allocations: 8.031 kB / 0.5993 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.1522, allocations: 8.844 kB / 0.5993 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.92e-05/0.1523, allocations: 168.5 kB / 0.5995 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.946e-06/0.1523, allocations: 384 / 0.5995 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.1523, allocations: 384 / 0.5995 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.1524, allocations: 54.25 kB / 0.5995 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.1524, allocations: 4.188 kB / 0.5995 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1525, allocations: 3.938 kB / 0.5995 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.1525, allocations: 11.98 kB / 0.5995 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.849e-05/0.1526, allocations: 27.98 kB / 0.5996 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003135/0.1529, allocations: 264.8 kB / 0.5998 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.495e-05/0.1529, allocations: 18.58 kB / 0.5998 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.86e-05/0.153, allocations: 8.922 kB / 0.5998 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.353e-06/0.153, allocations: 3.984 kB / 0.5998 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.153, allocations: 46.56 kB / 0.5999 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.153, allocations: 0 / 0.5999 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001655/0.1532, allocations: 71.23 kB / 0.6 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.1532, allocations: 81.11 kB / 0.6 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.014e-05/0.1533, allocations: 117.8 kB / 0.6002 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.1533, allocations: 25.7 kB / 0.6002 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.1534, allocations: 103.8 kB / 0.6003 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.787e-06/0.1534, allocations: 3.906 kB / 0.6003 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.1534, allocations: 17.72 kB / 0.6003 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.1535, allocations: 318.9 kB / 0.6006 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.711e-05/0.1536, allocations: 15.98 kB / 0.6006 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.136e-05/0.1536, allocations: 54.86 kB / 0.6007 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.1537, allocations: 134.1 kB / 0.6008 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1538, allocations: 0 / 0.6008 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001505/0.1539, allocations: 119.2 kB / 0.6009 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.154, allocations: 33.7 kB / 0.6009 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.154, allocations: 0 / 0.6009 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.154, allocations: 4 kB / 0.6009 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.762e-05/0.1541, allocations: 19.92 kB / 0.601 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1541, allocations: 0 / 0.601 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.431e-05/0.1541, allocations: 7.938 kB / 0.601 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.1542, allocations: 12.25 kB / 0.601 GB, free: 4.785 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 8.596e-05/0.1543, allocations: 147.4 kB / 0.6011 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.1543, allocations: 3.906 kB / 0.6011 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.625e-05/0.1543, allocations: 11.52 kB / 0.6011 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1543, allocations: 0 / 0.6011 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1543, allocations: 0 / 0.6011 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.1543, allocations: 0 / 0.6011 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.1545, allocations: 157.6 kB / 0.6013 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1545, allocations: 0 / 0.6013 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.1545, allocations: 0 / 0.6013 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1545, allocations: 8 kB / 0.6013 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.1545, allocations: 0 / 0.6013 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1545, allocations: 0 / 0.6013 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1545, allocations: 0 / 0.6013 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.1546, allocations: 169.1 kB / 0.6015 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.218e-05/0.1547, allocations: 77.11 kB / 0.6015 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.1547, allocations: 4 kB / 0.6015 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.643e-05/0.1548, allocations: 32 / 0.6015 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.1548, allocations: 4 kB / 0.6015 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.1548, allocations: 7.938 kB / 0.6015 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.39e-05/0.1548, allocations: 91.27 kB / 0.6016 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1548, allocations: 0 / 0.6016 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002526/0.1551, allocations: 11.94 kB / 0.6016 GB, free: 3.996 MB / 0.4981 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001632/0.1553, allocations: 111.2 kB / 0.6018 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.1554, allocations: 87.52 kB / 0.6018 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1554, allocations: 0 / 0.6018 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.384e-05/0.1555, allocations: 63.34 kB / 0.6019 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.1557, allocations: 6.812 kB / 0.6019 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002204/0.1559, allocations: 138.1 kB / 0.602 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.1561, allocations: 0.677 MB / 0.6027 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.372e-05/0.1562, allocations: 11.81 kB / 0.6027 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1562, allocations: 4 kB / 0.6027 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of Templates: time 0.002229/0.1584, allocations: 0.6803 MB / 0.6034 GB, free: 2.145 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)