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.0008287/0.0008287, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0006968/0.0006968, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.165/1.165, allocations: 223.3 MB / 240 MB, free: 5.426 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.8491/0.8491, allocations: 143.2 MB / 434.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002874/0.0002874, allocations: 15.98 kB / 0.5158 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1317, allocations: 83.42 MB / 0.5973 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.000555/0.1323, allocations: 311.1 kB / 0.5976 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001649/0.1325, allocations: 31.92 kB / 0.5976 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.265e-05/0.1325, allocations: 0 / 0.5976 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.82e-05/0.1325, allocations: 0 / 0.5976 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.581e-05/0.1325, allocations: 0 / 0.5976 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000125/0.1327, allocations: 11.97 kB / 0.5976 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.911e-05/0.1327, allocations: 15.94 kB / 0.5976 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.419e-05/0.1328, allocations: 0 / 0.5976 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.64e-05/0.1328, allocations: 4 kB / 0.5976 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.101e-05/0.1328, allocations: 3.984 kB / 0.5976 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.1328, allocations: 0 / 0.5976 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.465e-05/0.1329, allocations: 23.92 kB / 0.5976 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.1329, allocations: 4 kB / 0.5976 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.1329, allocations: 25.7 kB / 0.5977 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.046e-05/0.133, allocations: 11.98 kB / 0.5977 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.133, allocations: 0 / 0.5977 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.72e-07/0.133, allocations: 0 / 0.5977 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.535e-06/0.133, allocations: 4 kB / 0.5977 GB, free: 7.621 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.0002448/0.1333, allocations: 353.1 kB / 0.598 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.1333, allocations: 8.031 kB / 0.598 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.1333, allocations: 3.906 kB / 0.598 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.007e-05/0.1334, allocations: 171.2 kB / 0.5982 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1334, allocations: 7.984 kB / 0.5982 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-06/0.1335, allocations: 3.938 kB / 0.5982 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.61e-05/0.1336, allocations: 53.69 kB / 0.5983 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.1336, allocations: 4 kB / 0.5983 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.1336, allocations: 0 / 0.5983 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/0.1336, allocations: 11.98 kB / 0.5983 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.265e-05/0.1337, allocations: 27.92 kB / 0.5983 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.1339, allocations: 260.9 kB / 0.5986 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.407e-05/0.134, allocations: 14.58 kB / 0.5986 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.196e-05/0.134, allocations: 8.922 kB / 0.5986 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.23e-06/0.134, allocations: 4 kB / 0.5986 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.134, allocations: 34.56 kB / 0.5986 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.134, allocations: 0 / 0.5986 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000135/0.1342, allocations: 79.19 kB / 0.5987 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.1342, allocations: 77.11 kB / 0.5988 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.992e-05/0.1343, allocations: 113.8 kB / 0.5989 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.1343, allocations: 25.7 kB / 0.5989 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.1344, allocations: 107.9 kB / 0.599 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.094e-06/0.1344, allocations: 3.906 kB / 0.599 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-06/0.1344, allocations: 8 kB / 0.599 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.19e-05/0.1345, allocations: 310.8 kB / 0.5993 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.1345, allocations: 11.98 kB / 0.5993 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.177e-05/0.1346, allocations: 59.25 kB / 0.5994 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.169e-05/0.1346, allocations: 57.56 kB / 0.5994 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1346, allocations: 0 / 0.5994 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001254/0.1347, allocations: 123.3 kB / 0.5995 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.1348, allocations: 37.69 kB / 0.5996 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1348, allocations: 0 / 0.5996 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1348, allocations: 7.953 kB / 0.5996 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.074e-05/0.1349, allocations: 12 kB / 0.5996 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1349, allocations: 160 / 0.5996 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.185e-05/0.1349, allocations: 4 kB / 0.5996 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.135, allocations: 8 kB / 0.5996 GB, free: 5.371 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.089e-05/0.135, allocations: 155.6 kB / 0.5998 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.1351, allocations: 7.906 kB / 0.5998 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.699e-06/0.1351, allocations: 3.531 kB / 0.5998 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.1351, allocations: 0 / 0.5998 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1351, allocations: 3.953 kB / 0.5998 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-06/0.1351, allocations: 0 / 0.5998 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.1352, allocations: 153.7 kB / 0.5999 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1352, allocations: 4 kB / 0.5999 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1352, allocations: 0 / 0.5999 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.1352, allocations: 0 / 0.5999 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-06/0.1352, allocations: 3.938 kB / 0.5999 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/0.1353, allocations: 7.984 kB / 0.5999 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1353, allocations: 7.969 kB / 0.5999 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.881e-05/0.1354, allocations: 161.2 kB / 0.6001 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.1354, allocations: 81.11 kB / 0.6002 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.1354, allocations: 7.922 kB / 0.6002 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.72e-05/0.1355, allocations: 0 / 0.6002 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.847e-06/0.1355, allocations: 0 / 0.6002 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.1355, allocations: 12.03 kB / 0.6002 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.87e-05/0.1355, allocations: 95.22 kB / 0.6003 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1355, allocations: 0 / 0.6003 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002136/0.1358, allocations: 8 kB / 0.6003 GB, free: 4.562 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001365/0.1359, allocations: 103.2 kB / 0.6004 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000121/0.136, allocations: 83.77 kB / 0.6005 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.136, allocations: 4.062 kB / 0.6005 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.326e-05/0.1361, allocations: 63.34 kB / 0.6005 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.1363, allocations: 6.609 kB / 0.6005 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001874/0.1365, allocations: 106.7 kB / 0.6006 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.1367, allocations: 0.6809 MB / 0.6013 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.58e-05/0.1368, allocations: 16.23 kB / 0.6013 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.606e-06/0.1368, allocations: 7.438 kB / 0.6013 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1368, allocations: 0 / 0.6013 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of Templates: time 0.002296/0.1391, allocations: 0.4973 MB / 0.6018 GB, free: 2.922 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)