Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001294/0.001294, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001263/0.001263, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.381/1.381, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7944/0.7944, allocations: 101.3 MB / 361.1 MB, free: 9.551 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] "Notification: IDEAS 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.002106/0.002106, allocations: 66.02 kB / 0.5357 GB, free: 5.223 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1423, allocations: 85.89 MB / 0.6195 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001717/0.144, allocations: 0.5914 MB / 0.6201 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001775/0.1458, allocations: 1.264 MB / 0.6213 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.454e-05/0.1458, allocations: 0 / 0.6213 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.073e-05/0.1458, allocations: 0 / 0.6213 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.699e-06/0.1458, allocations: 4 kB / 0.6214 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.1461, allocations: 67.75 kB / 0.6214 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.493e-05/0.1462, allocations: 0 / 0.6214 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.471e-05/0.1462, allocations: 4 kB / 0.6214 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.561e-05/0.1462, allocations: 0 / 0.6214 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.469e-05/0.1463, allocations: 3.984 kB / 0.6214 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.1463, allocations: 3.984 kB / 0.6214 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002867/0.1466, allocations: 103.8 kB / 0.6215 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.508e-06/0.1466, allocations: 3.984 kB / 0.6215 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.758e-05/0.1466, allocations: 15.94 kB / 0.6215 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.1467, allocations: 51.88 kB / 0.6216 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1467, allocations: 0 / 0.6216 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1467, allocations: 0 / 0.6216 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.1467, allocations: 3.938 kB / 0.6216 GB, free: 15.4 MB / 0.5294 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.0002961/0.147, allocations: 250.3 kB / 0.6218 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.1471, allocations: 12.03 kB / 0.6218 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.1471, allocations: 0.9375 kB / 0.6219 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.077e-05/0.1472, allocations: 106.5 kB / 0.622 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.1472, allocations: 384 / 0.622 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.1472, allocations: 4.375 kB / 0.622 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.086e-05/0.1473, allocations: 38.02 kB / 0.622 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1473, allocations: 0 / 0.622 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.1473, allocations: 0 / 0.622 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.1473, allocations: 0 / 0.622 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.948e-05/0.1473, allocations: 7.922 kB / 0.622 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001202/0.1474, allocations: 97.33 kB / 0.6221 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.032e-05/0.1475, allocations: 18.58 kB / 0.6221 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.443e-05/0.1475, allocations: 8.953 kB / 0.6221 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002878/0.1478, allocations: 39.97 kB / 0.6222 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.1478, allocations: 30.56 kB / 0.6222 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1478, allocations: 0 / 0.6222 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001215/0.1479, allocations: 45.53 kB / 0.6222 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.148, allocations: 55.39 kB / 0.6223 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.999e-05/0.148, allocations: 89.86 kB / 0.6224 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.148, allocations: 29.64 kB / 0.6224 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.1481, allocations: 80.14 kB / 0.6225 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.1481, allocations: 4 kB / 0.6225 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.1481, allocations: 17.84 kB / 0.6225 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1483, allocations: 314.8 kB / 0.6228 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-06/0.1483, allocations: 0 / 0.6228 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-06/0.1483, allocations: 4 kB / 0.6228 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.223e-05/0.1483, allocations: 4.859 kB / 0.6228 GB, free: 14 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1483, allocations: 0 / 0.6228 GB, free: 14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.28e-05/0.1484, allocations: 45.62 kB / 0.6228 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.1484, allocations: 4 kB / 0.6229 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/0.1484, allocations: 0 / 0.6229 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1484, allocations: 3.938 kB / 0.6229 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.851e-05/0.1484, allocations: 8.094 kB / 0.6229 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.1485, allocations: 0 / 0.6229 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.075e-05/0.1485, allocations: 0 / 0.6229 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.1485, allocations: 0 / 0.6229 GB, free: 13.94 MB / 0.5294 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.896e-05/0.1485, allocations: 110.9 kB / 0.623 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-06/0.1486, allocations: 0 / 0.623 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.414e-05/0.1486, allocations: 52.5 kB / 0.623 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1486, allocations: 0 / 0.623 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1487, allocations: 7.969 kB / 0.623 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1487, allocations: 4 kB / 0.623 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.177e-05/0.1487, allocations: 93.33 kB / 0.6231 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1487, allocations: 0 / 0.6231 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.427e-05/0.1488, allocations: 0 / 0.6231 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.1488, allocations: 7.984 kB / 0.6231 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-06/0.1488, allocations: 0 / 0.6231 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1488, allocations: 3.938 kB / 0.6231 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1488, allocations: 4 kB / 0.6231 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.148e-05/0.1488, allocations: 57.14 kB / 0.6232 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.496e-06/0.1488, allocations: 4.031 kB / 0.6232 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-06/0.1489, allocations: 0 / 0.6232 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.488e-05/0.1489, allocations: 7.922 kB / 0.6232 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.1489, allocations: 11.92 kB / 0.6232 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-06/0.1489, allocations: 0 / 0.6232 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.255e-05/0.1489, allocations: 79.22 kB / 0.6233 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1489, allocations: 0 / 0.6233 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001975/0.1491, allocations: 8 kB / 0.6233 GB, free: 13.43 MB / 0.5294 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.0001468/0.1493, allocations: 111.2 kB / 0.6234 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.407e-05/0.1493, allocations: 8 kB / 0.6234 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1493, allocations: 0 / 0.6234 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.997e-06/0.1493, allocations: 4 kB / 0.6234 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.1495, allocations: 4 kB / 0.6234 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001783/0.1496, allocations: 80.88 kB / 0.6235 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.374e-05/0.1497, allocations: 55.34 kB / 0.6235 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.886e-05/0.1497, allocations: 4 kB / 0.6235 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.395e-05/0.1497, allocations: 12.56 kB / 0.6236 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.1497, allocations: 4 kB / 0.6236 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of Templates: time 0.002459/0.1522, allocations: 384 kB / 0.6239 GB, free: 12.72 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9919427409768105] Failed to read output from testmodel.py, exit status != 0: 0.1595284779323265 0.174793099 0.025026691 Calling exit ...