Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009127/0.0009127, allocations: 69.98 kB / 20.65 MB, free: 3.848 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.001083/0.001083, allocations: 173.4 kB / 24.06 MB, free: 448 kB / 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 1.067/1.067, allocations: 177.2 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7853/0.7853, allocations: 154.9 MB / 415.9 MB, free: 268 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5219 GB, free: 1.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.186e-05, allocations: 3.406 kB / 0.5219 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.003077/0.003109, allocations: 1.543 MB / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.004368, allocations: 0.7136 MB / 0.5241 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.004435, allocations: 0 / 0.5241 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.226e-05/0.004467, allocations: 4.562 kB / 0.5241 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.098e-05/0.004528, allocations: 5.469 kB / 0.5241 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.004965, allocations: 103.5 kB / 0.5242 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.005076, allocations: 39.86 kB / 0.5242 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.363e-05/0.005169, allocations: 16.89 kB / 0.5243 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.005292, allocations: 27.91 kB / 0.5243 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.003e-05/0.005342, allocations: 12.98 kB / 0.5243 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.005358, allocations: 4 kB / 0.5243 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.005571, allocations: 107.8 kB / 0.5244 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.005587, allocations: 13.05 kB / 0.5244 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.005609, allocations: 11.98 kB / 0.5244 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.00582, allocations: 103.6 kB / 0.5245 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.005822, allocations: 0.875 kB / 0.5245 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.212e-06/0.005824, allocations: 0 / 0.5245 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.005828, allocations: 0.5312 kB / 0.5245 GB, free: 14.82 MB / 0.4948 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.0004431/0.006271, allocations: 393.1 kB / 0.5249 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.006313, allocations: 8.031 kB / 0.5249 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.00648, allocations: 21.59 kB / 0.5249 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.006641, allocations: 129 kB / 0.5251 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.006653, allocations: 384 / 0.5251 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.006661, allocations: 5.219 kB / 0.5251 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.006786, allocations: 58.89 kB / 0.5251 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.006795, allocations: 3.125 kB / 0.5251 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.006803, allocations: 384 / 0.5251 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.006811, allocations: 7.938 kB / 0.5251 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.834e-05/0.006839, allocations: 7.984 kB / 0.5251 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.00712, allocations: 252.3 kB / 0.5254 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.075e-05/0.007181, allocations: 31 kB / 0.5254 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.007198, allocations: 7.688 kB / 0.5254 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/0.00739, allocations: 45.58 kB / 0.5255 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.007417, allocations: 37.95 kB / 0.5255 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.007418, allocations: 0 / 0.5255 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001448/0.007563, allocations: 38.64 kB / 0.5255 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.007601, allocations: 64.8 kB / 0.5256 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.007711, allocations: 166.3 kB / 0.5258 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.007727, allocations: 25.7 kB / 0.5258 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.007791, allocations: 142.8 kB / 0.5259 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.00781, allocations: 4.922 kB / 0.5259 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.007848, allocations: 23.36 kB / 0.5259 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.008003, allocations: 496.1 kB / 0.5264 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/0.008016, allocations: 2.031 kB / 0.5264 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.283e-05/0.008029, allocations: 4 kB / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.933e-05/0.008068, allocations: 11.69 kB / 0.5264 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.00807, allocations: 0 / 0.5264 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.347e-05/0.008154, allocations: 50.44 kB / 0.5265 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.008169, allocations: 8 kB / 0.5265 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.008175, allocations: 0.8125 kB / 0.5265 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.008187, allocations: 4 kB / 0.5265 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.126e-05/0.008248, allocations: 5 kB / 0.5265 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.008252, allocations: 3.984 kB / 0.5265 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.204e-05/0.008274, allocations: 1.438 kB / 0.5265 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.00828, allocations: 0 / 0.5265 GB, free: 12.62 MB / 0.4948 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 8.168e-05/0.008362, allocations: 156.6 kB / 0.5266 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.00839, allocations: 7.891 kB / 0.5267 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.008506, allocations: 54.5 kB / 0.5267 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.008508, allocations: 0 / 0.5267 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.00851, allocations: 0 / 0.5267 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.008517, allocations: 2.75 kB / 0.5267 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.008658, allocations: 109.2 kB / 0.5268 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.008659, allocations: 0 / 0.5268 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.595e-05/0.008695, allocations: 4 kB / 0.5268 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.008698, allocations: 0 / 0.5268 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.008707, allocations: 11.92 kB / 0.5268 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.008709, allocations: 0 / 0.5268 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.00871, allocations: 2.406 kB / 0.5268 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.008832, allocations: 180 kB / 0.527 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.008842, allocations: 7.938 kB / 0.527 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.008857, allocations: 11.92 kB / 0.527 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.16e-05/0.008908, allocations: 0 / 0.527 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.008933, allocations: 0 / 0.527 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.008936, allocations: 0.6875 kB / 0.527 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.635e-05/0.008993, allocations: 143.1 kB / 0.5272 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.008993, allocations: 0.9688 kB / 0.5272 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002849/0.009278, allocations: 15.94 kB / 0.5272 GB, free: 11.88 MB / 0.4948 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.0001592/0.009437, allocations: 111.8 kB / 0.5273 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.774e-05/0.009514, allocations: 19.12 kB / 0.5273 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.009516, allocations: 0 / 0.5273 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.123e-05/0.009537, allocations: 15.67 kB / 0.5273 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.009781, allocations: 4 kB / 0.5273 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004713/0.01025, allocations: 142 kB / 0.5275 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.477e-05/0.0103, allocations: 62.16 kB / 0.5275 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.531e-05/0.01032, allocations: 0 / 0.5275 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.818e-05/0.01037, allocations: 70.2 kB / 0.5276 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.002e-06/0.01037, allocations: 0 / 0.5276 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.00272/0.01309, allocations: 0.6121 MB / 0.5282 GB, free: 10.83 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8910935330204666]