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.001025/0.001025, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001191/0.001191, allocations: 173 kB / 23.49 MB, free: 1.062 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.137/1.137, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.803/0.803, allocations: 154.8 MB / 415.1 MB, free: 476 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 2.044e-06/2.044e-06, allocations: 0 / 0.5206 GB, free: 2.211 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.033e-05/3.237e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.207 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001773/0.001805, allocations: 0.5983 MB / 0.5212 GB, free: 1.633 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.003564, allocations: 1.32 MB / 0.5225 GB, free: 308 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.246e-05/0.003586, allocations: 0 / 0.5225 GB, free: 308 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.237e-05/0.003608, allocations: 1.812 kB / 0.5225 GB, free: 308 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.955e-06/0.003616, allocations: 0 / 0.5225 GB, free: 308 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.004031, allocations: 71.69 kB / 0.5226 GB, free: 236 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.119e-05/0.004082, allocations: 3.938 kB / 0.5226 GB, free: 232 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.004126, allocations: 5.625 kB / 0.5226 GB, free: 228 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.486e-05/0.004151, allocations: 3.984 kB / 0.5226 GB, free: 224 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.735e-05/0.004198, allocations: 3.984 kB / 0.5226 GB, free: 220 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.00421, allocations: 0 / 0.5226 GB, free: 220 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003085/0.004519, allocations: 113.1 kB / 0.5227 GB, free: 108 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.004529, allocations: 0 / 0.5227 GB, free: 108 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.999e-05/0.004549, allocations: 0 / 0.5227 GB, free: 108 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.004718, allocations: 71.84 kB / 0.5228 GB, free: 36 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.00472, allocations: 4.531 kB / 0.5228 GB, free: 32 kB / 490.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004721, allocations: 0.75 kB / 0.5228 GB, free: 32 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.004726, allocations: 0 / 0.5228 GB, free: 32 kB / 490.7 MB 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.0003345/0.00506, allocations: 353.9 kB / 0.5231 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.005108, allocations: 8.031 kB / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.005151, allocations: 0.9375 kB / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.862e-05/0.00523, allocations: 108.6 kB / 0.5232 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.005243, allocations: 5.719 kB / 0.5232 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-06/0.00525, allocations: 384 / 0.5232 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.198e-05/0.005342, allocations: 30.2 kB / 0.5233 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.006e-06/0.00535, allocations: 3.719 kB / 0.5233 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.005359, allocations: 384 / 0.5233 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.00537, allocations: 7.938 kB / 0.5233 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.559e-05/0.005386, allocations: 0 / 0.5233 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000117/0.005503, allocations: 112.6 kB / 0.5234 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.761e-05/0.00554, allocations: 27.09 kB / 0.5234 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.005557, allocations: 11.69 kB / 0.5234 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003065/0.005863, allocations: 44.53 kB / 0.5235 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.005893, allocations: 37.89 kB / 0.5235 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.402e-06/0.005894, allocations: 0.9688 kB / 0.5235 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001427/0.006037, allocations: 37.69 kB / 0.5235 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.006073, allocations: 56.81 kB / 0.5236 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.046e-05/0.006123, allocations: 142.2 kB / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.006136, allocations: 25.7 kB / 0.5238 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.006173, allocations: 126.9 kB / 0.5239 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.006202, allocations: 0.75 kB / 0.5239 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.006234, allocations: 23.38 kB / 0.5239 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.006381, allocations: 493 kB / 0.5244 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-06/0.00639, allocations: 0 / 0.5244 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.228e-05/0.006403, allocations: 9.594 kB / 0.5244 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.709e-05/0.00644, allocations: 7.688 kB / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.006442, allocations: 0 / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.866e-05/0.0065, allocations: 38.34 kB / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.006515, allocations: 4 kB / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.00652, allocations: 1.125 kB / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.006533, allocations: 0 / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.752e-05/0.00658, allocations: 4 kB / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.006587, allocations: 6.25 kB / 0.5244 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.714e-06/0.006595, allocations: 0 / 0.5244 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.006599, allocations: 0 / 0.5244 GB, free: 14.15 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.517e-05/0.006664, allocations: 164.5 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-06/0.006669, allocations: 352 / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.877e-05/0.006748, allocations: 43.44 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.00675, allocations: 0 / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.006753, allocations: 0 / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.006757, allocations: 7.938 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.29e-05/0.00681, allocations: 112.6 kB / 0.5247 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.006812, allocations: 3.984 kB / 0.5247 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.586e-06/0.00682, allocations: 5.344 kB / 0.5248 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.006824, allocations: 4 kB / 0.5248 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.006829, allocations: 0 / 0.5248 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.006829, allocations: 0.9375 kB / 0.5248 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.00683, allocations: 0 / 0.5248 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.807e-05/0.006878, allocations: 73.27 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-06/0.006883, allocations: 7.922 kB / 0.5248 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.053e-06/0.00689, allocations: 0 / 0.5248 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.147e-06/0.006894, allocations: 0.6562 kB / 0.5248 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.006908, allocations: 4 kB / 0.5248 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-06/0.00691, allocations: 1 kB / 0.5248 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.696e-05/0.006937, allocations: 123.1 kB / 0.525 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006937, allocations: 2.562 kB / 0.525 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001312/0.007068, allocations: 11.94 kB / 0.525 GB, free: 13.53 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.0001485/0.007216, allocations: 111.2 kB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.493e-05/0.007291, allocations: 11.69 kB / 0.5251 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.007293, allocations: 0 / 0.5251 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.106e-05/0.007304, allocations: 14.75 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.007451, allocations: 10.05 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002132/0.007664, allocations: 91.92 kB / 0.5252 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.52e-05/0.0077, allocations: 51.36 kB / 0.5253 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.237e-05/0.007722, allocations: 4 kB / 0.5253 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.828e-05/0.00774, allocations: 10.16 kB / 0.5253 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of SimCode: time 9.21e-07/0.007741, allocations: 0 / 0.5253 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of Templates: time 0.002387/0.01013, allocations: 419.8 kB / 0.5257 GB, free: 12.78 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.9356715930625796]