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.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.0007792/0.0007792, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007733/0.0007733, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8938/0.8938, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6908/0.6908, allocations: 154.6 MB / 414.5 MB, free: 0.8008 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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.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 1.213e-06/1.213e-06, allocations: 0 / 0.6193 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.531e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.001636/0.001652, allocations: 1.513 MB / 0.6208 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007755/0.002427, allocations: 0.6972 MB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.832e-05/0.002476, allocations: 0 / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.002501, allocations: 7.938 kB / 0.6215 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.897e-05/0.00254, allocations: 7.875 kB / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.002845, allocations: 99.58 kB / 0.6216 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.679e-05/0.002932, allocations: 39.86 kB / 0.6217 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.151e-05/0.003013, allocations: 15.92 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.469e-05/0.003108, allocations: 23.97 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.747e-05/0.003146, allocations: 15.86 kB / 0.6217 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.003158, allocations: 4 kB / 0.6217 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.003299, allocations: 107.9 kB / 0.6218 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/0.003313, allocations: 11.97 kB / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.987e-05/0.003333, allocations: 11.94 kB / 0.6218 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.003484, allocations: 111.7 kB / 0.6219 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.003486, allocations: 0 / 0.6219 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.31e-07/0.003487, allocations: 4 kB / 0.6219 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.00349, allocations: 0 / 0.6219 GB, free: 10.42 MB / 0.5886 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.0005611/0.004051, allocations: 294 kB / 0.6222 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.004086, allocations: 12.03 kB / 0.6222 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.722e-05/0.004183, allocations: 16.88 kB / 0.6223 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.004314, allocations: 113.7 kB / 0.6224 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.004322, allocations: 4.375 kB / 0.6224 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.00433, allocations: 4.375 kB / 0.6224 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.004438, allocations: 58.17 kB / 0.6224 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.004444, allocations: 4.188 kB / 0.6224 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.004453, allocations: 384 / 0.6224 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.004458, allocations: 7.938 kB / 0.6224 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.103e-05/0.004509, allocations: 23.98 kB / 0.6225 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.004735, allocations: 220.5 kB / 0.6227 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.555e-05/0.004791, allocations: 30.45 kB / 0.6227 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.88e-05/0.00482, allocations: 24.84 kB / 0.6227 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.004968, allocations: 43.97 kB / 0.6228 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.004985, allocations: 34.56 kB / 0.6228 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.004985, allocations: 0 / 0.6228 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.000159/0.005144, allocations: 65.61 kB / 0.6229 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.005168, allocations: 51.41 kB / 0.6229 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.911e-05/0.005227, allocations: 109.8 kB / 0.623 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.005236, allocations: 25.7 kB / 0.623 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.005272, allocations: 100 kB / 0.6231 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.005287, allocations: 8.078 kB / 0.6231 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.005311, allocations: 17.72 kB / 0.6232 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.456e-05/0.005376, allocations: 310.8 kB / 0.6235 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.3e-05/0.005399, allocations: 15.98 kB / 0.6235 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.72e-05/0.005416, allocations: 4 kB / 0.6235 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.461e-05/0.005461, allocations: 24.84 kB / 0.6235 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.005462, allocations: 0 / 0.6235 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.519e-05/0.005527, allocations: 69.61 kB / 0.6236 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.005538, allocations: 4 kB / 0.6236 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.005541, allocations: 3.938 kB / 0.6236 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.00555, allocations: 0 / 0.6236 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.131e-05/0.005592, allocations: 4 kB / 0.6236 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.005597, allocations: 4 kB / 0.6236 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.005613, allocations: 7.984 kB / 0.6236 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.005618, allocations: 0 / 0.6236 GB, free: 8.566 MB / 0.5886 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 5.01e-05/0.005669, allocations: 110.8 kB / 0.6237 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.005682, allocations: 7.891 kB / 0.6237 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.839e-05/0.00578, allocations: 73.28 kB / 0.6238 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.005781, allocations: 0 / 0.6238 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.005787, allocations: 7.984 kB / 0.6238 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.00579, allocations: 3.938 kB / 0.6238 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.064e-05/0.00587, allocations: 109.3 kB / 0.6239 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.005871, allocations: 0 / 0.6239 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.7e-05/0.005888, allocations: 12.3 kB / 0.6239 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.71e-07/0.005888, allocations: 0 / 0.6239 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.005894, allocations: 0 / 0.6239 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.005895, allocations: 4 kB / 0.6239 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005896, allocations: 7.969 kB / 0.6239 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.128e-05/0.005977, allocations: 143.5 kB / 0.624 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.005984, allocations: 11.89 kB / 0.6241 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.005994, allocations: 3.984 kB / 0.6241 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.817e-05/0.006022, allocations: 0 / 0.6241 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.006044, allocations: 4 kB / 0.6241 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.006046, allocations: 0 / 0.6241 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.998e-05/0.006076, allocations: 95.2 kB / 0.6242 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006076, allocations: 0 / 0.6242 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001594/0.006236, allocations: 19.97 kB / 0.6242 GB, free: 7.902 MB / 0.5886 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.0001055/0.006341, allocations: 107.2 kB / 0.6243 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.081e-05/0.006422, allocations: 27.98 kB / 0.6243 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.006423, allocations: 0 / 0.6243 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.192e-05/0.006445, allocations: 11.98 kB / 0.6243 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.006591, allocations: 3.938 kB / 0.6243 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002275/0.006818, allocations: 166.6 kB / 0.6245 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.966e-05/0.006858, allocations: 63.34 kB / 0.6245 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.833e-05/0.006876, allocations: 12.48 kB / 0.6246 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of SimCode: time 4.31e-07/0.006877, allocations: 0 / 0.6246 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of Templates: time 0.001434/0.008311, allocations: 0.8069 MB / 0.6253 GB, free: 6.648 MB / 0.5886 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: 4.801345162093639] Failed to read output from testmodel.py, exit status != 0: 0.012628613039851189 0.020615156000000003 0.01551073 Calling exit ...