Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.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.001311/0.001311, allocations: 71.77 kB / 20.51 MB, free: 1.125 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.001381/0.001381, allocations: 161.4 kB / 23.76 MB, free: 4.195 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.426/1.426, allocations: 177.2 MB / 204.1 MB, free: 8.906 MB / 190.1 MB " [Timeout remaining time 178] 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.9225/0.9225, allocations: 113.9 MB / 374.5 MB, free: 12.88 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.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice") translateModel(IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice") [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.002195/0.002195, allocations: 70.62 kB / 0.555 GB, free: 2.715 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1543, allocations: 89.14 MB / 0.6421 GB, free: 9.527 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.002803/0.1571, allocations: 1.499 MB / 0.6436 GB, free: 8.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.1584, allocations: 0.6856 MB / 0.6442 GB, free: 7.328 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.1584, allocations: 0 / 0.6442 GB, free: 7.328 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.215e-05/0.1585, allocations: 11.86 kB / 0.6442 GB, free: 7.316 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.848e-05/0.1585, allocations: 3.938 kB / 0.6442 GB, free: 7.312 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.1589, allocations: 99.66 kB / 0.6443 GB, free: 7.215 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.796e-05/0.159, allocations: 39.86 kB / 0.6444 GB, free: 7.176 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.791e-05/0.1591, allocations: 19.86 kB / 0.6444 GB, free: 7.156 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.435e-05/0.1592, allocations: 19.92 kB / 0.6444 GB, free: 7.137 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.774e-05/0.1593, allocations: 19.92 kB / 0.6444 GB, free: 7.117 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.1593, allocations: 0 / 0.6444 GB, free: 7.117 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.1595, allocations: 111.9 kB / 0.6445 GB, free: 7.008 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.794e-05/0.1595, allocations: 11.92 kB / 0.6446 GB, free: 6.996 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.1595, allocations: 7.938 kB / 0.6446 GB, free: 6.988 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.1597, allocations: 99.69 kB / 0.6447 GB, free: 6.891 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1597, allocations: 4 kB / 0.6447 GB, free: 6.887 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1597, allocations: 0 / 0.6447 GB, free: 6.887 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.227e-06/0.1597, allocations: 0 / 0.6447 GB, free: 6.887 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004336/0.1602, allocations: 296 kB / 0.6449 GB, free: 6.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.1602, allocations: 12.03 kB / 0.645 GB, free: 6.559 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.1604, allocations: 16.88 kB / 0.645 GB, free: 6.543 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.1606, allocations: 122.4 kB / 0.6451 GB, free: 6.398 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1606, allocations: 4.375 kB / 0.6451 GB, free: 6.395 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.1606, allocations: 4.375 kB / 0.6451 GB, free: 6.391 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.1607, allocations: 57.98 kB / 0.6451 GB, free: 6.328 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1607, allocations: 0 / 0.6451 GB, free: 6.328 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-06/0.1607, allocations: 0 / 0.6451 GB, free: 6.328 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1607, allocations: 0 / 0.6451 GB, free: 6.328 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.637e-05/0.1608, allocations: 31.97 kB / 0.6452 GB, free: 6.297 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.1611, allocations: 220.4 kB / 0.6454 GB, free: 6.051 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.783e-05/0.1612, allocations: 30.56 kB / 0.6454 GB, free: 6.012 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.948e-05/0.1613, allocations: 16.91 kB / 0.6454 GB, free: 5.992 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002306/0.1615, allocations: 39.97 kB / 0.6455 GB, free: 5.953 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.1615, allocations: 30.56 kB / 0.6455 GB, free: 5.914 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1615, allocations: 4 kB / 0.6455 GB, free: 5.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002471/0.1618, allocations: 73.56 kB / 0.6456 GB, free: 5.832 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.1618, allocations: 51.41 kB / 0.6456 GB, free: 5.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.022e-05/0.1619, allocations: 113.8 kB / 0.6457 GB, free: 5.648 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1619, allocations: 25.7 kB / 0.6458 GB, free: 5.617 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.162, allocations: 96.02 kB / 0.6458 GB, free: 5.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.162, allocations: 7.938 kB / 0.6459 GB, free: 5.512 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.162, allocations: 17.72 kB / 0.6459 GB, free: 5.488 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1622, allocations: 314.8 kB / 0.6462 GB, free: 5.172 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.483e-05/0.1622, allocations: 16.11 kB / 0.6462 GB, free: 5.156 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.441e-05/0.1622, allocations: 8 kB / 0.6462 GB, free: 5.148 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.404e-05/0.1623, allocations: 28.78 kB / 0.6462 GB, free: 5.117 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1623, allocations: 0 / 0.6462 GB, free: 5.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001346/0.1625, allocations: 57.62 kB / 0.6463 GB, free: 5.055 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1625, allocations: 8 kB / 0.6463 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.1625, allocations: 0 / 0.6463 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1625, allocations: 8.094 kB / 0.6463 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.211e-05/0.1625, allocations: 4 kB / 0.6463 GB, free: 5.035 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1625, allocations: 0 / 0.6463 GB, free: 5.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.57e-05/0.1626, allocations: 8 kB / 0.6463 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.1626, allocations: 3.984 kB / 0.6463 GB, free: 5.023 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 7.692e-05/0.1627, allocations: 113.8 kB / 0.6464 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.1627, allocations: 7.984 kB / 0.6464 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.1629, allocations: 65.23 kB / 0.6465 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1629, allocations: 0 / 0.6465 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1629, allocations: 4.031 kB / 0.6465 GB, free: 4.816 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.1629, allocations: 4 kB / 0.6465 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.163, allocations: 113.2 kB / 0.6466 GB, free: 4.672 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.163, allocations: 0 / 0.6466 GB, free: 4.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.591e-05/0.1631, allocations: 4 kB / 0.6466 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1631, allocations: 0 / 0.6466 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.1631, allocations: 3.984 kB / 0.6466 GB, free: 4.664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1631, allocations: 0 / 0.6466 GB, free: 4.664 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1631, allocations: 0 / 0.6466 GB, free: 4.664 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.1632, allocations: 159.4 kB / 0.6468 GB, free: 4.492 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-06/0.1632, allocations: 4.031 kB / 0.6468 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.1633, allocations: 4 kB / 0.6468 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.207e-05/0.1633, allocations: 3.984 kB / 0.6468 GB, free: 4.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.071e-05/0.1633, allocations: 0 / 0.6468 GB, free: 4.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.1634, allocations: 4.375 kB / 0.6468 GB, free: 4.477 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.395e-05/0.1634, allocations: 91.2 kB / 0.6469 GB, free: 4.387 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1634, allocations: 3.938 kB / 0.6469 GB, free: 4.383 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002443/0.1637, allocations: 23.89 kB / 0.6469 GB, free: 4.359 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001511/0.1638, allocations: 111.2 kB / 0.647 GB, free: 4.242 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.1639, allocations: 27.98 kB / 0.647 GB, free: 4.215 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1639, allocations: 0 / 0.647 GB, free: 4.215 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.702e-05/0.164, allocations: 11.94 kB / 0.647 GB, free: 4.203 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.1642, allocations: 10.12 kB / 0.647 GB, free: 4.195 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000301/0.1645, allocations: 138.7 kB / 0.6472 GB, free: 4.031 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.755e-05/0.1645, allocations: 63.34 kB / 0.6472 GB, free: 3.949 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.367e-05/0.1646, allocations: 8.125 kB / 0.6472 GB, free: 3.941 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.962e-05/0.1646, allocations: 8.5 kB / 0.6473 GB, free: 3.934 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.1646, allocations: 0 / 0.6473 GB, free: 3.934 MB / 0.545 GB Notification: Performance of Templates: time 0.00278/0.1674, allocations: 0.5174 MB / 0.6478 GB, free: 3.418 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.2884907480329275] Failed to read output from testmodel.py, exit status != 0: 0.17572541593108326 0.18983411500000003 0.027048562 Calling exit ...