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.0009895/0.0009895, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009629/0.0009629, allocations: 165 kB / 23.02 MB, free: 1.551 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.009/1.009, allocations: 177.1 MB / 203.4 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.9181/0.9181, allocations: 154.8 MB / 414.7 MB, free: 0.4961 MB / 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.623e-06/1.623e-06, allocations: 0 / 0.5206 GB, free: 1.91 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/2.823e-05, allocations: 5.828 kB / 0.5206 GB, free: 1.906 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001328/0.001356, allocations: 0.6016 MB / 0.5212 GB, free: 1.328 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.002759, allocations: 1.319 MB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.643e-05/0.002775, allocations: 0 / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.002797, allocations: 5.156 kB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.743e-06/0.002803, allocations: 0 / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003991/0.003202, allocations: 72.78 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 4.483e-05/0.003247, allocations: 4 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.852e-05/0.003286, allocations: 3.938 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 2.323e-05/0.003309, allocations: 2.344 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.453e-05/0.003353, allocations: 7.984 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.003366, allocations: 0 / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002586/0.003624, allocations: 107.8 kB / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.766e-06/0.003633, allocations: 0 / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.384e-05/0.003647, allocations: 0 / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.003781, allocations: 69.52 kB / 0.5228 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.003783, allocations: 0 / 0.5228 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.92e-07/0.003784, allocations: 0 / 0.5228 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.003789, allocations: 0 / 0.5228 GB, free: 15.73 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.0002852/0.004074, allocations: 356.2 kB / 0.5231 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.004116, allocations: 8.594 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.004157, allocations: 9.812 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.186e-05/0.004219, allocations: 108.6 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.004231, allocations: 384 / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.004243, allocations: 5.484 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.463e-05/0.004327, allocations: 30.27 kB / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.004338, allocations: 0.9062 kB / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.004347, allocations: 4.312 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.004356, allocations: 4.969 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.37e-05/0.00437, allocations: 0 / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.004473, allocations: 112.6 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.78e-05/0.004511, allocations: 28.56 kB / 0.5234 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.804e-05/0.004529, allocations: 15.77 kB / 0.5234 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/0.00479, allocations: 37.03 kB / 0.5234 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.004814, allocations: 37.39 kB / 0.5235 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.004815, allocations: 0.6875 kB / 0.5235 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001213/0.004937, allocations: 34.98 kB / 0.5235 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.004965, allocations: 59.28 kB / 0.5236 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.768e-05/0.005003, allocations: 142.2 kB / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.005012, allocations: 26.89 kB / 0.5237 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/0.00504, allocations: 134.9 kB / 0.5239 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.005067, allocations: 0 / 0.5239 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.005093, allocations: 16.16 kB / 0.5239 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.005207, allocations: 496.1 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.065e-05/0.005218, allocations: 0.8438 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-06/0.005224, allocations: 0 / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.151e-05/0.005255, allocations: 18.31 kB / 0.5244 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.005257, allocations: 0 / 0.5244 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.326e-05/0.005301, allocations: 33.69 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.005315, allocations: 11.94 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.00532, allocations: 0 / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.005336, allocations: 0 / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.784e-05/0.005384, allocations: 0.625 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.005393, allocations: 11.92 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.766e-06/0.005401, allocations: 0.5625 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.005406, allocations: 6.812 kB / 0.5244 GB, free: 13.84 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 5.901e-05/0.005465, allocations: 152.6 kB / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-06/0.00547, allocations: 352 / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.553e-05/0.005556, allocations: 44.69 kB / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.005558, allocations: 0 / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.005561, allocations: 3.031 kB / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.005565, allocations: 3.938 kB / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.797e-05/0.005623, allocations: 108.6 kB / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.005623, allocations: 3.938 kB / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.183e-05/0.005635, allocations: 4 kB / 0.5247 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.005637, allocations: 0 / 0.5247 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.005643, allocations: 0 / 0.5247 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.005644, allocations: 7.922 kB / 0.5247 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.005646, allocations: 1.5 kB / 0.5247 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.312e-05/0.005699, allocations: 72.39 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-06/0.005702, allocations: 0 / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.005711, allocations: 4.5 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.117e-06/0.005715, allocations: 0 / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.005728, allocations: 5.016 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.00573, allocations: 0 / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.866e-05/0.005759, allocations: 123.1 kB / 0.5249 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.005759, allocations: 0.9062 kB / 0.5249 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001456/0.005905, allocations: 11.94 kB / 0.525 GB, free: 13.23 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.0001354/0.00604, allocations: 118.9 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.899e-05/0.006109, allocations: 15.62 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.006111, allocations: 0 / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.747e-06/0.006119, allocations: 15.69 kB / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.639e-05/0.006216, allocations: 0 / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001823/0.006398, allocations: 87.94 kB / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.32e-05/0.006431, allocations: 55.34 kB / 0.5252 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.942e-05/0.006451, allocations: 2.438 kB / 0.5252 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.686e-05/0.006468, allocations: 8.5 kB / 0.5252 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of SimCode: time 1.203e-06/0.006469, allocations: 0 / 0.5252 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of Templates: time 0.001996/0.008464, allocations: 424.3 kB / 0.5256 GB, free: 12.47 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: 4.011158422101289]