Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001116/0.001116, allocations: 119.6 kB / 17.09 MB, free: 6 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.001035/0.001035, allocations: 192.7 kB / 18.02 MB, free: 5.082 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.335/1.335, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7055/0.7055, allocations: 115.3 MB / 407.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 71.2 kB / 0.5584 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1396, allocations: 76.19 MB / 0.6328 GB, free: 4.359 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001608/0.1412, allocations: 0.5594 MB / 0.6333 GB, free: 3.805 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000243/0.1415, allocations: 35.88 kB / 0.6334 GB, free: 3.77 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/0.1415, allocations: 4 kB / 0.6334 GB, free: 3.766 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.1416, allocations: 11.92 kB / 0.6334 GB, free: 3.754 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.58e-05/0.1416, allocations: 0 / 0.6334 GB, free: 3.754 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.1418, allocations: 4 kB / 0.6334 GB, free: 3.75 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.567e-05/0.1419, allocations: 15.97 kB / 0.6334 GB, free: 3.734 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.142, allocations: 0 / 0.6334 GB, free: 3.734 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.067e-05/0.142, allocations: 4 kB / 0.6334 GB, free: 3.73 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.245e-05/0.142, allocations: 3.938 kB / 0.6334 GB, free: 3.727 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.1421, allocations: 0 / 0.6334 GB, free: 3.727 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.497e-05/0.1421, allocations: 15.98 kB / 0.6334 GB, free: 3.711 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.07e-05/0.1422, allocations: 8 kB / 0.6334 GB, free: 3.703 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.357e-05/0.1422, allocations: 7.938 kB / 0.6334 GB, free: 3.695 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 9.34e-05/0.1423, allocations: 35.89 kB / 0.6335 GB, free: 3.66 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1423, allocations: 0 / 0.6335 GB, free: 3.66 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1423, allocations: 0 / 0.6335 GB, free: 3.66 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1423, allocations: 3.938 kB / 0.6335 GB, free: 3.656 MB / 478.1 MB 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.0003361/0.1427, allocations: 349.2 kB / 0.6338 GB, free: 3.258 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.1427, allocations: 8.031 kB / 0.6338 GB, free: 3.25 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.1427, allocations: 0.9375 kB / 0.6338 GB, free: 3.25 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.306e-05/0.1429, allocations: 168.3 kB / 0.634 GB, free: 3.047 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1429, allocations: 8.375 kB / 0.634 GB, free: 3.039 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.1429, allocations: 384 / 0.634 GB, free: 3.039 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.143, allocations: 54.25 kB / 0.634 GB, free: 2.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.143, allocations: 4.172 kB / 0.634 GB, free: 2.977 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1431, allocations: 7.938 kB / 0.634 GB, free: 2.969 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.492e-05/0.1431, allocations: 7.984 kB / 0.6341 GB, free: 2.961 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.977e-05/0.1431, allocations: 27.92 kB / 0.6341 GB, free: 2.934 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.1435, allocations: 260.8 kB / 0.6343 GB, free: 2.629 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.268e-05/0.1435, allocations: 26.58 kB / 0.6344 GB, free: 2.594 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.518e-05/0.1435, allocations: 4.859 kB / 0.6344 GB, free: 2.586 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.282e-06/0.1435, allocations: 64 / 0.6344 GB, free: 2.586 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.1436, allocations: 34.56 kB / 0.6344 GB, free: 2.543 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1436, allocations: 0 / 0.6344 GB, free: 2.543 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001622/0.1438, allocations: 71.23 kB / 0.6345 GB, free: 2.461 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.1438, allocations: 81.23 kB / 0.6345 GB, free: 2.363 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.616e-05/0.1439, allocations: 117.8 kB / 0.6347 GB, free: 2.238 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.1439, allocations: 25.7 kB / 0.6347 GB, free: 2.207 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/0.144, allocations: 107.9 kB / 0.6348 GB, free: 2.098 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.757e-06/0.144, allocations: 3.984 kB / 0.6348 GB, free: 2.094 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.144, allocations: 25.97 kB / 0.6348 GB, free: 2.062 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1442, allocations: 314.8 kB / 0.6351 GB, free: 1.746 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.829e-05/0.1442, allocations: 19.98 kB / 0.6351 GB, free: 1.727 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.409e-05/0.1442, allocations: 62.86 kB / 0.6352 GB, free: 1.641 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.1444, allocations: 130.1 kB / 0.6353 GB, free: 1.477 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1444, allocations: 0 / 0.6353 GB, free: 1.477 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001412/0.1445, allocations: 123.1 kB / 0.6354 GB, free: 1.344 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.1446, allocations: 37.95 kB / 0.6355 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1446, allocations: 0 / 0.6355 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1446, allocations: 4 kB / 0.6355 GB, free: 1.297 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.797e-05/0.1447, allocations: 15.98 kB / 0.6355 GB, free: 1.281 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1447, allocations: 3.938 kB / 0.6355 GB, free: 1.277 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.452e-05/0.1447, allocations: 11.84 kB / 0.6355 GB, free: 1.266 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.1448, allocations: 8 kB / 0.6355 GB, free: 1.258 MB / 478.1 MB 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 9.529e-05/0.1449, allocations: 143.5 kB / 0.6356 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.1449, allocations: 7.984 kB / 0.6357 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.448e-05/0.1449, allocations: 7.531 kB / 0.6357 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1449, allocations: 0 / 0.6357 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1449, allocations: 3.938 kB / 0.6357 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1449, allocations: 0 / 0.6357 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.1451, allocations: 157.6 kB / 0.6358 GB, free: 0.875 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1451, allocations: 4 kB / 0.6358 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1451, allocations: 0 / 0.6358 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1451, allocations: 0 / 0.6358 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.1451, allocations: 0 / 0.6358 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1451, allocations: 0 / 0.6358 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1451, allocations: 0 / 0.6358 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.1453, allocations: 173.1 kB / 0.636 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.1453, allocations: 85.02 kB / 0.6361 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.1453, allocations: 0 / 0.6361 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.353e-05/0.1454, allocations: 0 / 0.6361 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.1454, allocations: 0 / 0.6361 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.1454, allocations: 4 kB / 0.6361 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.948e-05/0.1455, allocations: 95.72 kB / 0.6362 GB, free: 492 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1455, allocations: 4.031 kB / 0.6362 GB, free: 488 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.1457, allocations: 11.94 kB / 0.6362 GB, free: 476 kB / 478.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 (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.0001576/0.1459, allocations: 107.2 kB / 0.6363 GB, free: 360 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.146, allocations: 83.33 kB / 0.6364 GB, free: 264 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.146, allocations: 0 / 0.6364 GB, free: 264 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 3.509e-05/0.1461, allocations: 63.84 kB / 0.6364 GB, free: 188 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.1463, allocations: 8.062 kB / 0.6364 GB, free: 180 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000243/0.1466, allocations: 134.7 kB / 0.6366 GB, free: 12 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.1469, allocations: 0.6807 MB / 0.6372 GB, free: 15.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.365e-05/0.1469, allocations: 7.438 kB / 0.6372 GB, free: 15.3 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1469, allocations: 0 / 0.6372 GB, free: 15.3 MB / 494.1 MB Notification: Performance of Templates: time 0.002055/0.1489, allocations: 0.6828 MB / 0.6379 GB, free: 14.61 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)