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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.0008919/0.0008917, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001101/0.001101, allocations: 177.3 kB / 15.94 MB, free: 228 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.329/1.329, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9884/0.9884, allocations: 143.3 MB / 434.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.000312, allocations: 12 kB / 0.5158 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1463, allocations: 83.41 MB / 0.5973 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006111/0.147, allocations: 315 kB / 0.5976 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001601/0.1472, allocations: 31.92 kB / 0.5976 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.512e-05/0.1472, allocations: 4 kB / 0.5976 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.019e-05/0.1472, allocations: 0 / 0.5976 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.859e-05/0.1473, allocations: 0 / 0.5976 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.1474, allocations: 19.97 kB / 0.5976 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.639e-05/0.1474, allocations: 0 / 0.5976 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.593e-05/0.1475, allocations: 0 / 0.5976 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.837e-05/0.1475, allocations: 7.938 kB / 0.5976 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.453e-05/0.1475, allocations: 0 / 0.5976 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.1476, allocations: 4 kB / 0.5976 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.384e-05/0.1476, allocations: 15.92 kB / 0.5977 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.1476, allocations: 7.984 kB / 0.5977 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.1477, allocations: 29.7 kB / 0.5977 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.684e-05/0.1477, allocations: 15.98 kB / 0.5977 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.1477, allocations: 0 / 0.5977 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1478, allocations: 4 kB / 0.5977 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.1478, allocations: 0 / 0.5977 GB, free: 7.371 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.0002671/0.148, allocations: 345.1 kB / 0.598 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.1481, allocations: 8.031 kB / 0.5981 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.1481, allocations: 3.906 kB / 0.5981 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.059e-05/0.1482, allocations: 175.2 kB / 0.5982 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1482, allocations: 7.984 kB / 0.5982 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.1482, allocations: 0 / 0.5982 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.1484, allocations: 53.69 kB / 0.5983 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1484, allocations: 4 kB / 0.5983 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1484, allocations: 3.984 kB / 0.5983 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/0.1484, allocations: 11.98 kB / 0.5983 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.367e-05/0.1485, allocations: 23.97 kB / 0.5983 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.1488, allocations: 264.8 kB / 0.5986 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.767e-05/0.1488, allocations: 22.58 kB / 0.5986 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.1488, allocations: 3.984 kB / 0.5986 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.1489, allocations: 34.56 kB / 0.5986 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1489, allocations: 0 / 0.5986 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001646/0.149, allocations: 75.27 kB / 0.5987 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.1491, allocations: 77.11 kB / 0.5988 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.144e-05/0.1492, allocations: 117.8 kB / 0.5989 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1492, allocations: 25.7 kB / 0.5989 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.1493, allocations: 103.8 kB / 0.599 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.013e-06/0.1493, allocations: 11.97 kB / 0.599 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.1493, allocations: 0 / 0.599 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1494, allocations: 318.8 kB / 0.5993 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.118e-05/0.1494, allocations: 8 kB / 0.5993 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.88e-05/0.1495, allocations: 62.92 kB / 0.5994 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.01e-05/0.1495, allocations: 61.56 kB / 0.5995 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1495, allocations: 0 / 0.5995 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001404/0.1497, allocations: 115.5 kB / 0.5996 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.1497, allocations: 33.7 kB / 0.5996 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1497, allocations: 0 / 0.5996 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1498, allocations: 7.953 kB / 0.5996 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.525e-05/0.1498, allocations: 15.92 kB / 0.5996 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1498, allocations: 4 kB / 0.5996 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.965e-05/0.1499, allocations: 8 kB / 0.5996 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.1499, allocations: 4 kB / 0.5996 GB, free: 5.125 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.793e-05/0.15, allocations: 143.5 kB / 0.5998 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.1501, allocations: 15.86 kB / 0.5998 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.391e-05/0.1501, allocations: 11.53 kB / 0.5998 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.1501, allocations: 0 / 0.5998 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.1501, allocations: 3.953 kB / 0.5998 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.1501, allocations: 0 / 0.5998 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.1502, allocations: 149.7 kB / 0.6 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1502, allocations: 0 / 0.6 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.1502, allocations: 0 / 0.6 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.1502, allocations: 0 / 0.6 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.1503, allocations: 4 kB / 0.6 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1503, allocations: 0 / 0.6 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1503, allocations: 4 kB / 0.6 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.1504, allocations: 165.2 kB / 0.6001 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-05/0.1504, allocations: 77.11 kB / 0.6002 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.1504, allocations: 0 / 0.6002 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.738e-05/0.1505, allocations: 4 kB / 0.6002 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.244e-05/0.1505, allocations: 0 / 0.6002 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.1505, allocations: 7.984 kB / 0.6002 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.998e-05/0.1506, allocations: 91.27 kB / 0.6003 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1506, allocations: 3.938 kB / 0.6003 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002393/0.1508, allocations: 12 kB / 0.6003 GB, free: 4.336 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.0001516/0.151, allocations: 111.2 kB / 0.6004 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.1511, allocations: 83.33 kB / 0.6005 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1511, allocations: 0.5 kB / 0.6005 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.908e-05/0.1512, allocations: 63.34 kB / 0.6006 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.1513, allocations: 3.938 kB / 0.6006 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001766/0.1515, allocations: 102.8 kB / 0.6007 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.1517, allocations: 0.6848 MB / 0.6013 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.028e-05/0.1518, allocations: 12.17 kB / 0.6013 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.009e-05/0.1518, allocations: 11.5 kB / 0.6013 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1518, allocations: 0 / 0.6013 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of Templates: time 0.002176/0.154, allocations: 0.4907 MB / 0.6018 GB, free: 2.699 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: