Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001461/0.001461, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001288/0.001288, allocations: 169 kB / 23.27 MB, free: 1.223 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 1.021/1.021, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.8041/0.8041, allocations: 154.9 MB / 415.1 MB, free: 248 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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.5212 GB, free: 1.438 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.52e-05, allocations: 2.312 kB / 0.5212 GB, free: 1.434 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00124/0.001256, allocations: 0.5865 MB / 0.5218 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.002635, allocations: 1.315 MB / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.444e-05/0.00265, allocations: 0 / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.064e-05/0.00266, allocations: 1.344 kB / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.588e-06/0.002665, allocations: 0 / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.00294, allocations: 80.41 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 2.838e-05/0.002968, allocations: 0 / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 2.523e-05/0.002993, allocations: 1.844 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 2.347e-05/0.003017, allocations: 7.938 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.298e-05/0.00305, allocations: 0 / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.933e-06/0.003057, allocations: 0 / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.003288, allocations: 115.8 kB / 0.5232 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.203e-06/0.003296, allocations: 2 kB / 0.5232 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.526e-06/0.003304, allocations: 0 / 0.5232 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.003429, allocations: 71.84 kB / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.003431, allocations: 0 / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003431, allocations: 4 kB / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.445e-06/0.003434, allocations: 0 / 0.5233 GB, free: 15.27 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002244/0.003658, allocations: 353.7 kB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.003692, allocations: 8.031 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.867e-05/0.00371, allocations: 0.9375 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.579e-05/0.003766, allocations: 104.6 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.003774, allocations: 5.344 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-06/0.00378, allocations: 4.359 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.522e-05/0.003835, allocations: 31.17 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.003841, allocations: 192 / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.568e-06/0.003846, allocations: 1.375 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.003853, allocations: 7.938 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.218e-05/0.003865, allocations: 11.94 kB / 0.5238 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.858e-05/0.003943, allocations: 89.77 kB / 0.5239 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 2.855e-05/0.003972, allocations: 32.11 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.027e-05/0.003982, allocations: 7.688 kB / 0.524 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001917/0.004174, allocations: 45.23 kB / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.004193, allocations: 35.17 kB / 0.524 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.004194, allocations: 3.938 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 7.855e-05/0.004273, allocations: 33.7 kB / 0.5241 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.004294, allocations: 53.12 kB / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.811e-05/0.004332, allocations: 142.2 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.004346, allocations: 29.7 kB / 0.5243 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.004382, allocations: 126.9 kB / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.004402, allocations: 0 / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.004427, allocations: 20.94 kB / 0.5244 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.004542, allocations: 0.4922 MB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.512e-06/0.004548, allocations: 0 / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.51e-06/0.004554, allocations: 4 kB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.254e-05/0.004576, allocations: 12.38 kB / 0.5249 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.004577, allocations: 1.469 kB / 0.5249 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.646e-05/0.004624, allocations: 33.7 kB / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.004633, allocations: 4 kB / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.145e-06/0.004637, allocations: 1.031 kB / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.004646, allocations: 0 / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.685e-05/0.004683, allocations: 7.984 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.004685, allocations: 0.9375 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.002e-05/0.004695, allocations: 3.938 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-06/0.004699, allocations: 0 / 0.525 GB, free: 13.41 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 (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 6.119e-05/0.00476, allocations: 155.5 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-06/0.004765, allocations: 4 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.956e-05/0.004825, allocations: 40.98 kB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.004827, allocations: 3.984 kB / 0.5252 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.004828, allocations: 0 / 0.5252 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.004831, allocations: 2.75 kB / 0.5252 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.203e-05/0.004893, allocations: 97.2 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.004893, allocations: 0 / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.142e-06/0.0049, allocations: 0 / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.41e-07/0.0049, allocations: 3.938 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-06/0.004903, allocations: 0 / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.004903, allocations: 4 kB / 0.5253 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.004906, allocations: 4.594 kB / 0.5253 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.134e-05/0.004957, allocations: 81.52 kB / 0.5253 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-06/0.00496, allocations: 4 kB / 0.5253 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.821e-06/0.004966, allocations: 0 / 0.5253 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.43e-06/0.004971, allocations: 0 / 0.5253 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-06/0.004979, allocations: 0.625 kB / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-06/0.00498, allocations: 1.562 kB / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.961e-05/0.00501, allocations: 123.2 kB / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.00501, allocations: 0 / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001698/0.005179, allocations: 7.938 kB / 0.5255 GB, free: 12.82 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 (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.0001131/0.005293, allocations: 115.3 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.235e-05/0.005335, allocations: 15.67 kB / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.005336, allocations: 0.6562 kB / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.005e-05/0.005346, allocations: 16.52 kB / 0.5256 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001007/0.005447, allocations: 3.938 kB / 0.5256 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001178/0.005565, allocations: 92.42 kB / 0.5257 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.457e-05/0.005589, allocations: 53.11 kB / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.354e-05/0.005603, allocations: 0 / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/0.005633, allocations: 72.64 kB / 0.5258 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of SimCode: time 4.71e-07/0.005633, allocations: 0 / 0.5258 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.001764/0.007398, allocations: 474.5 kB / 0.5263 GB, free: 11.96 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.622616891283542]