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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 76.12 kB / 20.51 MB, free: 1.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00206/0.00206, allocations: 164.4 kB / 23.77 MB, free: 4.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.395/1.395, allocations: 177.2 MB / 204.1 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9155/0.9155, allocations: 113.9 MB / 374.5 MB, free: 12.87 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 66.8 kB / 0.5551 GB, free: 2.699 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1535, allocations: 89.16 MB / 0.6421 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001696/0.1552, allocations: 0.5797 MB / 0.6427 GB, free: 8.918 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002283/0.1555, allocations: 31.89 kB / 0.6427 GB, free: 8.887 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.079e-05/0.1555, allocations: 0 / 0.6427 GB, free: 8.887 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.1555, allocations: 0 / 0.6427 GB, free: 8.887 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.836e-05/0.1555, allocations: 0 / 0.6427 GB, free: 8.887 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.1557, allocations: 11.98 kB / 0.6427 GB, free: 8.875 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.877e-05/0.1558, allocations: 11.92 kB / 0.6428 GB, free: 8.863 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.284e-05/0.1558, allocations: 4 kB / 0.6428 GB, free: 8.859 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.485e-05/0.1558, allocations: 0 / 0.6428 GB, free: 8.859 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.417e-05/0.1559, allocations: 3.938 kB / 0.6428 GB, free: 8.855 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.1559, allocations: 4 kB / 0.6428 GB, free: 8.852 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.816e-05/0.156, allocations: 23.98 kB / 0.6428 GB, free: 8.828 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.438e-05/0.156, allocations: 0 / 0.6428 GB, free: 8.828 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.156, allocations: 15.92 kB / 0.6428 GB, free: 8.812 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.53e-05/0.1561, allocations: 19.91 kB / 0.6428 GB, free: 8.793 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1561, allocations: 0 / 0.6428 GB, free: 8.793 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1561, allocations: 3.938 kB / 0.6428 GB, free: 8.789 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.1561, allocations: 3.938 kB / 0.6428 GB, free: 8.785 MB / 0.545 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.0003405/0.1565, allocations: 276.5 kB / 0.6431 GB, free: 8.477 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.1565, allocations: 8.031 kB / 0.6431 GB, free: 8.469 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.1565, allocations: 4.891 kB / 0.6431 GB, free: 8.465 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.652e-05/0.1566, allocations: 114.5 kB / 0.6432 GB, free: 8.328 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1566, allocations: 384 / 0.6432 GB, free: 8.328 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.525e-06/0.1566, allocations: 384 / 0.6432 GB, free: 8.328 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1568, allocations: 87.89 kB / 0.6433 GB, free: 8.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.1568, allocations: 192 / 0.6433 GB, free: 8.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1568, allocations: 7.938 kB / 0.6433 GB, free: 8.223 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/0.1568, allocations: 7.984 kB / 0.6433 GB, free: 8.215 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.227e-05/0.1569, allocations: 53.67 kB / 0.6434 GB, free: 8.156 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.1572, allocations: 216.5 kB / 0.6436 GB, free: 7.914 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.076e-05/0.1573, allocations: 44.28 kB / 0.6436 GB, free: 7.855 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.1573, allocations: 42.56 kB / 0.6437 GB, free: 7.805 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.1573, allocations: 0 / 0.6437 GB, free: 7.805 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.1573, allocations: 34.55 kB / 0.6437 GB, free: 7.762 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.1574, allocations: 0 / 0.6437 GB, free: 7.762 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001961/0.1575, allocations: 118.8 kB / 0.6438 GB, free: 7.621 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.1576, allocations: 77.11 kB / 0.6439 GB, free: 7.527 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.1577, allocations: 125.8 kB / 0.644 GB, free: 7.395 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.1577, allocations: 25.7 kB / 0.644 GB, free: 7.363 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.1578, allocations: 103.9 kB / 0.6441 GB, free: 7.258 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.911e-06/0.1578, allocations: 0 / 0.6441 GB, free: 7.258 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.1578, allocations: 29.78 kB / 0.6441 GB, free: 7.223 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.158, allocations: 326.7 kB / 0.6445 GB, free: 6.895 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.33e-05/0.158, allocations: 41.69 kB / 0.6445 GB, free: 6.848 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.513e-05/0.1581, allocations: 84.56 kB / 0.6446 GB, free: 6.734 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.1582, allocations: 130.1 kB / 0.6447 GB, free: 6.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1582, allocations: 4 kB / 0.6447 GB, free: 6.566 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001834/0.1584, allocations: 141 kB / 0.6448 GB, free: 6.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.1585, allocations: 29.7 kB / 0.6449 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1585, allocations: 4 kB / 0.6449 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1585, allocations: 0 / 0.6449 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.936e-05/0.1585, allocations: 23.92 kB / 0.6449 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1586, allocations: 8.188 kB / 0.6449 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.381e-05/0.1586, allocations: 15.89 kB / 0.6449 GB, free: 6.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.1586, allocations: 4 kB / 0.6449 GB, free: 6.32 MB / 0.545 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 0.0001073/0.1587, allocations: 143.5 kB / 0.6451 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.1588, allocations: 4 kB / 0.6451 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.542e-05/0.1588, allocations: 7.453 kB / 0.6451 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1588, allocations: 11.88 kB / 0.6451 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1588, allocations: 0 / 0.6451 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-06/0.1588, allocations: 0 / 0.6451 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.1589, allocations: 105.2 kB / 0.6452 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1589, allocations: 0 / 0.6452 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.1589, allocations: 4 kB / 0.6452 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1589, allocations: 0 / 0.6452 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.1589, allocations: 0 / 0.6452 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.1589, allocations: 4 kB / 0.6452 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1589, allocations: 0 / 0.6452 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.1591, allocations: 198.8 kB / 0.6454 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.839e-06/0.1591, allocations: 3.984 kB / 0.6454 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.1591, allocations: 4 kB / 0.6454 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.734e-05/0.1592, allocations: 0 / 0.6454 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-06/0.1592, allocations: 0 / 0.6454 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.1592, allocations: 8.031 kB / 0.6454 GB, free: 5.758 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.502e-05/0.1592, allocations: 91.27 kB / 0.6455 GB, free: 5.668 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1592, allocations: 0 / 0.6455 GB, free: 5.668 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002499/0.1595, allocations: 8 kB / 0.6455 GB, free: 5.66 MB / 0.545 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.0001368/0.1596, allocations: 111.2 kB / 0.6456 GB, free: 5.543 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001667/0.1598, allocations: 134.7 kB / 0.6457 GB, free: 5.387 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1598, allocations: 0.5 kB / 0.6457 GB, free: 5.387 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.338e-05/0.1599, allocations: 85.11 kB / 0.6458 GB, free: 5.285 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.1601, allocations: 14 kB / 0.6458 GB, free: 5.273 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002253/0.1603, allocations: 130.5 kB / 0.6459 GB, free: 5.113 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.912e-05/0.1604, allocations: 59.34 kB / 0.646 GB, free: 5.035 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.204e-05/0.1604, allocations: 15.97 kB / 0.646 GB, free: 5.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.289e-05/0.1604, allocations: 12.44 kB / 0.646 GB, free: 5.008 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.1604, allocations: 4 kB / 0.646 GB, free: 5.004 MB / 0.545 GB Notification: Performance of Templates: time 0.002818/0.1633, allocations: 0.5439 MB / 0.6466 GB, free: 4.473 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.148546093027107] Failed to read output from testmodel.py, exit status != 0: 0.17131344694644213 0.186279268 0.0269828 Calling exit ...