Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.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.001366/0.001366, allocations: 69.64 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.001419/0.001419, allocations: 161 kB / 23.76 MB, free: 4.469 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.4/1.4, allocations: 177.2 MB / 204.1 MB, free: 8.988 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.9053/0.9053, allocations: 113.9 MB / 374.5 MB, free: 12.9 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.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") [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.002079/0.002079, allocations: 65.09 kB / 0.5551 GB, free: 2.684 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1495, allocations: 89.16 MB / 0.6421 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001621/0.1511, allocations: 0.5719 MB / 0.6427 GB, free: 8.914 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.1527, allocations: 1.276 MB / 0.6439 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.39e-05/0.1527, allocations: 0 / 0.6439 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.023e-05/0.1528, allocations: 0 / 0.6439 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.589e-06/0.1528, allocations: 7.938 kB / 0.644 GB, free: 7.613 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.1531, allocations: 71.75 kB / 0.644 GB, free: 7.543 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.818e-05/0.1531, allocations: 7.984 kB / 0.644 GB, free: 7.535 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.056e-05/0.1532, allocations: 0 / 0.644 GB, free: 7.535 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.299e-05/0.1532, allocations: 3.984 kB / 0.644 GB, free: 7.531 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.318e-05/0.1532, allocations: 0 / 0.644 GB, free: 7.531 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.1532, allocations: 4 kB / 0.644 GB, free: 7.527 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002817/0.1535, allocations: 103.8 kB / 0.6441 GB, free: 7.426 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.574e-06/0.1535, allocations: 0 / 0.6441 GB, free: 7.426 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.724e-05/0.1535, allocations: 3.938 kB / 0.6441 GB, free: 7.422 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.1537, allocations: 67.86 kB / 0.6442 GB, free: 7.355 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1537, allocations: 0 / 0.6442 GB, free: 7.355 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1537, allocations: 0 / 0.6442 GB, free: 7.355 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.1537, allocations: 0 / 0.6442 GB, free: 7.355 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000287/0.154, allocations: 258.2 kB / 0.6445 GB, free: 7.074 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.154, allocations: 12.03 kB / 0.6445 GB, free: 7.062 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.154, allocations: 0.9375 kB / 0.6445 GB, free: 7.062 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.698e-05/0.1541, allocations: 102.5 kB / 0.6446 GB, free: 6.938 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1541, allocations: 384 / 0.6446 GB, free: 6.938 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.1541, allocations: 4.375 kB / 0.6446 GB, free: 6.934 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.976e-05/0.1542, allocations: 34.02 kB / 0.6446 GB, free: 6.895 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1542, allocations: 0 / 0.6446 GB, free: 6.895 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.1542, allocations: 0 / 0.6446 GB, free: 6.895 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.1542, allocations: 0 / 0.6446 GB, free: 6.895 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.33e-05/0.1542, allocations: 15.92 kB / 0.6446 GB, free: 6.879 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001107/0.1543, allocations: 97.33 kB / 0.6447 GB, free: 6.754 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.14e-05/0.1544, allocations: 18.61 kB / 0.6447 GB, free: 6.727 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.396e-05/0.1544, allocations: 4.859 kB / 0.6447 GB, free: 6.719 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002913/0.1547, allocations: 40.03 kB / 0.6448 GB, free: 6.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.1547, allocations: 34.56 kB / 0.6448 GB, free: 6.637 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1547, allocations: 0 / 0.6448 GB, free: 6.637 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001173/0.1548, allocations: 45.56 kB / 0.6448 GB, free: 6.586 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.1549, allocations: 51.41 kB / 0.6449 GB, free: 6.523 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.726e-05/0.1549, allocations: 89.86 kB / 0.645 GB, free: 6.426 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1549, allocations: 29.64 kB / 0.645 GB, free: 6.391 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.155, allocations: 84.14 kB / 0.6451 GB, free: 6.305 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.155, allocations: 3.953 kB / 0.6451 GB, free: 6.301 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.155, allocations: 13.84 kB / 0.6451 GB, free: 6.281 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1552, allocations: 322.8 kB / 0.6454 GB, free: 5.957 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-06/0.1552, allocations: 0 / 0.6454 GB, free: 5.957 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.749e-06/0.1552, allocations: 0 / 0.6454 GB, free: 5.957 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.79e-05/0.1552, allocations: 12.84 kB / 0.6454 GB, free: 5.941 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1552, allocations: 3.938 kB / 0.6454 GB, free: 5.938 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.407e-05/0.1553, allocations: 33.64 kB / 0.6455 GB, free: 5.898 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1553, allocations: 8 kB / 0.6455 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.1553, allocations: 0 / 0.6455 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1553, allocations: 3.938 kB / 0.6455 GB, free: 5.887 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.276e-05/0.1553, allocations: 4.094 kB / 0.6455 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1553, allocations: 3.984 kB / 0.6455 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.324e-05/0.1553, allocations: 4 kB / 0.6455 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.1553, allocations: 0 / 0.6455 GB, free: 5.875 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 (1): * Single equations (assignments): 1 * 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.013e-05/0.1554, allocations: 113.8 kB / 0.6456 GB, free: 5.754 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-06/0.1554, allocations: 0 / 0.6456 GB, free: 5.754 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.542e-05/0.1555, allocations: 44.58 kB / 0.6456 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1555, allocations: 0 / 0.6456 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.1555, allocations: 4.031 kB / 0.6456 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1555, allocations: 0 / 0.6456 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.275e-05/0.1556, allocations: 97.31 kB / 0.6457 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1556, allocations: 0 / 0.6457 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.361e-05/0.1556, allocations: 4 kB / 0.6457 GB, free: 5.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1556, allocations: 0 / 0.6457 GB, free: 5.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-06/0.1556, allocations: 0 / 0.6457 GB, free: 5.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.1556, allocations: 3.938 kB / 0.6457 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1556, allocations: 0 / 0.6457 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.425e-05/0.1557, allocations: 61.12 kB / 0.6458 GB, free: 5.488 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-06/0.1557, allocations: 12.02 kB / 0.6458 GB, free: 5.477 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-06/0.1557, allocations: 0 / 0.6458 GB, free: 5.477 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.289e-05/0.1557, allocations: 7.938 kB / 0.6458 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.019e-05/0.1557, allocations: 3.938 kB / 0.6458 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.1557, allocations: 0 / 0.6458 GB, free: 5.465 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.494e-05/0.1558, allocations: 79.22 kB / 0.6459 GB, free: 5.387 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1558, allocations: 0 / 0.6459 GB, free: 5.387 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001964/0.156, allocations: 15.94 kB / 0.6459 GB, free: 5.371 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): 1 * 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.00014/0.1561, allocations: 111.2 kB / 0.646 GB, free: 5.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.023e-05/0.1562, allocations: 8 kB / 0.646 GB, free: 5.242 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1562, allocations: 0 / 0.646 GB, free: 5.242 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.452e-06/0.1562, allocations: 0 / 0.646 GB, free: 5.242 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.1563, allocations: 4 kB / 0.646 GB, free: 5.238 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001684/0.1565, allocations: 84.8 kB / 0.6461 GB, free: 5.129 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.332e-05/0.1565, allocations: 55.36 kB / 0.6462 GB, free: 5.055 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.478e-05/0.1565, allocations: 0 / 0.6462 GB, free: 5.055 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.562e-05/0.1565, allocations: 16.44 kB / 0.6462 GB, free: 5.039 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.1565, allocations: 4.125 kB / 0.6462 GB, free: 5.035 MB / 0.545 GB Notification: Performance of Templates: time 0.002324/0.1588, allocations: 380.5 kB / 0.6465 GB, free: 4.664 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.203039591084234] Failed to read output from testmodel.py, exit status != 0: 0.16647970699705184 0.18012497700000002 0.023569207000000002 Calling exit ...