Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002392/0.002392, allocations: 185.8 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 225.6 MB / 251 MB, free: 12.98 MB / 206.1 MB " [Timeout remaining time 178] 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.904/0.904, allocations: 134 MB / 440.3 MB, free: 184 kB / 334.1 MB " [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.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(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Splice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 64.78 kB / 0.6107 GB, free: 13.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2272, allocations: 84.73 MB / 0.6935 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.005083/0.2323, allocations: 1.498 MB / 0.6949 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002189/0.2345, allocations: 0.6591 MB / 0.6956 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.724e-05/0.2346, allocations: 4 kB / 0.6956 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.979e-05/0.2346, allocations: 7.922 kB / 0.6956 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.309e-05/0.2347, allocations: 3.938 kB / 0.6956 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005746/0.2353, allocations: 75.73 kB / 0.6957 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.2354, allocations: 39.86 kB / 0.6957 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.2355, allocations: 15.92 kB / 0.6957 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.2356, allocations: 15.92 kB / 0.6957 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.998e-05/0.2357, allocations: 27.86 kB / 0.6958 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.2358, allocations: 0 / 0.6958 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003341/0.2361, allocations: 95.91 kB / 0.6959 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.2361, allocations: 7.984 kB / 0.6959 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.2362, allocations: 19.88 kB / 0.6959 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.2365, allocations: 71.78 kB / 0.696 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.2365, allocations: 4 kB / 0.696 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2365, allocations: 0 / 0.696 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.2365, allocations: 0 / 0.696 GB, free: 6.375 MB / 0.5137 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.0007143/0.2372, allocations: 290 kB / 0.6962 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.2373, allocations: 8.031 kB / 0.6962 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.201e-05/0.2373, allocations: 16.8 kB / 0.6963 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.2375, allocations: 122.4 kB / 0.6964 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.2375, allocations: 8.359 kB / 0.6964 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.2376, allocations: 4.375 kB / 0.6964 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.2378, allocations: 57.98 kB / 0.6964 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2378, allocations: 0 / 0.6964 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.2378, allocations: 0 / 0.6964 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.2379, allocations: 3.984 kB / 0.6964 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.238, allocations: 27.98 kB / 0.6965 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000622/0.2387, allocations: 251.8 kB / 0.6967 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.2388, allocations: 26.58 kB / 0.6967 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.2389, allocations: 20.91 kB / 0.6968 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004347/0.2394, allocations: 39.97 kB / 0.6968 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.2394, allocations: 30.56 kB / 0.6968 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.833e-06/0.2394, allocations: 0 / 0.6968 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0004447/0.2399, allocations: 69.56 kB / 0.6969 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.2399, allocations: 51.41 kB / 0.6969 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.2401, allocations: 129.2 kB / 0.6971 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.2402, allocations: 29.7 kB / 0.6971 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.63e-05/0.2402, allocations: 92.12 kB / 0.6972 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.2403, allocations: 3.953 kB / 0.6972 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/0.2403, allocations: 13.72 kB / 0.6972 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002036/0.2405, allocations: 318.8 kB / 0.6975 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.03e-05/0.2406, allocations: 11.98 kB / 0.6975 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.411e-05/0.2407, allocations: 8 kB / 0.6975 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.2408, allocations: 32.84 kB / 0.6976 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2409, allocations: 0 / 0.6976 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002431/0.2411, allocations: 53.67 kB / 0.6976 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2411, allocations: 8 kB / 0.6976 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2411, allocations: 0 / 0.6976 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.2411, allocations: 4 kB / 0.6976 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.887e-05/0.2412, allocations: 4 kB / 0.6976 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2412, allocations: 0 / 0.6976 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.702e-05/0.2413, allocations: 19.91 kB / 0.6976 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.2413, allocations: 4 kB / 0.6976 GB, free: 4.469 MB / 0.5137 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 0.0001387/0.2415, allocations: 113.8 kB / 0.6978 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.2415, allocations: 0 / 0.6978 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.2418, allocations: 69.17 kB / 0.6978 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.2418, allocations: 4 kB / 0.6978 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2418, allocations: 0 / 0.6978 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2418, allocations: 4.031 kB / 0.6978 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.2421, allocations: 140.7 kB / 0.698 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2421, allocations: 3.938 kB / 0.698 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.785e-05/0.2422, allocations: 7.984 kB / 0.698 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2422, allocations: 0 / 0.698 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.2422, allocations: 0 / 0.698 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.2422, allocations: 0 / 0.698 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2422, allocations: 0 / 0.698 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.2425, allocations: 159.4 kB / 0.6981 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.2426, allocations: 15.94 kB / 0.6981 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.2426, allocations: 0 / 0.6981 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.2427, allocations: 0 / 0.6981 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.2427, allocations: 0 / 0.6981 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.2427, allocations: 4 kB / 0.6981 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001029/0.2428, allocations: 91.27 kB / 0.6982 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2428, allocations: 0 / 0.6982 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004625/0.2433, allocations: 15.94 kB / 0.6982 GB, free: 3.777 MB / 0.5137 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.0002265/0.2435, allocations: 111.3 kB / 0.6983 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002256/0.2438, allocations: 19.98 kB / 0.6984 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2438, allocations: 0 / 0.6984 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.881e-05/0.2439, allocations: 15.92 kB / 0.6984 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.2442, allocations: 8 kB / 0.6984 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005376/0.2448, allocations: 134.9 kB / 0.6985 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005885/0.2454, allocations: 0.6807 MB / 0.6992 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.205e-05/0.2454, allocations: 4 kB / 0.6992 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.116e-05/0.2454, allocations: 15.36 kB / 0.6992 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.2454, allocations: 0 / 0.6992 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of Templates: time 0.005135/0.2506, allocations: 0.4915 MB / 0.6997 GB, free: 2.242 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Splice.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Splice.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.97970753069967] Failed to read output from testmodel.py, exit status != 0: 0.26073252875357866 0.29043402399999996 0.048762572000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ff0e25397b0>