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.001842/0.001842, allocations: 88.72 kB / 19.44 MB, free: 352 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.002308/0.002308, allocations: 157.7 kB / 22.76 MB, free: 1.676 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.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 178] 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 1.205/1.205, allocations: 154.8 MB / 414.4 MB, free: 400 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 178] 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.305e-06/2.305e-06, allocations: 0 / 0.5199 GB, free: 2.219 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.43e-05/3.661e-05, allocations: 7.484 kB / 0.5199 GB, free: 2.215 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001874/0.001911, allocations: 0.5809 MB / 0.5205 GB, free: 1.656 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.004147, allocations: 1.284 MB / 0.5217 GB, free: 368 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.781e-05/0.004165, allocations: 0 / 0.5217 GB, free: 368 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.347e-05/0.004178, allocations: 0.75 kB / 0.5217 GB, free: 368 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.773e-06/0.004185, allocations: 0 / 0.5217 GB, free: 368 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.004662, allocations: 77.09 kB / 0.5218 GB, free: 292 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.189e-05/0.004704, allocations: 0 / 0.5218 GB, free: 292 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.639e-05/0.004741, allocations: 3.984 kB / 0.5218 GB, free: 288 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.772e-05/0.004768, allocations: 5.344 kB / 0.5218 GB, free: 284 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.296e-05/0.004811, allocations: 0 / 0.5218 GB, free: 284 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.004823, allocations: 0 / 0.5218 GB, free: 284 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003396/0.005162, allocations: 112.7 kB / 0.5219 GB, free: 172 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.005172, allocations: 0 / 0.5219 GB, free: 172 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.005195, allocations: 0 / 0.5219 GB, free: 172 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.005389, allocations: 70.91 kB / 0.522 GB, free: 104 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.005391, allocations: 0 / 0.522 GB, free: 104 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005393, allocations: 0 / 0.522 GB, free: 104 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.005397, allocations: 0 / 0.522 GB, free: 104 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.0003898/0.005786, allocations: 258.3 kB / 0.5222 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.005831, allocations: 12.03 kB / 0.5223 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.00588, allocations: 4.875 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.005984, allocations: 101.8 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.005996, allocations: 0.9375 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.006006, allocations: 4.938 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.006114, allocations: 34.25 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.006124, allocations: 4.891 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.006132, allocations: 1 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.006139, allocations: 3.938 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.074e-05/0.00616, allocations: 5.469 kB / 0.5224 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.006319, allocations: 97.27 kB / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.71e-05/0.006376, allocations: 22.55 kB / 0.5225 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.299e-05/0.006399, allocations: 4.859 kB / 0.5225 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003456/0.006745, allocations: 42.38 kB / 0.5226 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.006787, allocations: 30.56 kB / 0.5226 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.006788, allocations: 0 / 0.5226 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001587/0.006946, allocations: 38.84 kB / 0.5226 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.007002, allocations: 67.22 kB / 0.5227 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.701e-05/0.007059, allocations: 90.67 kB / 0.5228 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.007081, allocations: 25.7 kB / 0.5228 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.007126, allocations: 81.42 kB / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.007156, allocations: 0 / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.007189, allocations: 13.72 kB / 0.5229 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.00737, allocations: 314.8 kB / 0.5232 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.007381, allocations: 1.344 kB / 0.5232 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.737e-06/0.00739, allocations: 3.984 kB / 0.5232 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.069e-05/0.00742, allocations: 9.641 kB / 0.5232 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.007422, allocations: 0 / 0.5232 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.602e-05/0.007488, allocations: 39.48 kB / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.007503, allocations: 4 kB / 0.5233 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.007506, allocations: 0 / 0.5233 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.007524, allocations: 0 / 0.5233 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.821e-05/0.007572, allocations: 4 kB / 0.5233 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.007579, allocations: 6.844 kB / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.138e-05/0.00759, allocations: 0 / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.007596, allocations: 0 / 0.5233 GB, free: 14.64 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 9.359e-05/0.007689, allocations: 117.8 kB / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-06/0.007697, allocations: 0 / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.007798, allocations: 39.45 kB / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.007799, allocations: 0 / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.007802, allocations: 0 / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.007809, allocations: 7.938 kB / 0.5234 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.723e-05/0.007906, allocations: 97.31 kB / 0.5235 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.007908, allocations: 0 / 0.5235 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.586e-05/0.007923, allocations: 0 / 0.5235 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.007926, allocations: 4.688 kB / 0.5235 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.007932, allocations: 3.938 kB / 0.5235 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.007933, allocations: 1.156 kB / 0.5235 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.007934, allocations: 0 / 0.5235 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.407e-05/0.008028, allocations: 65.09 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-06/0.008032, allocations: 0.7188 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.008042, allocations: 0 / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.888e-06/0.008052, allocations: 0.5 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.008068, allocations: 8.875 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-06/0.00807, allocations: 0 / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.603e-05/0.008136, allocations: 83.22 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.008136, allocations: 1.219 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002163/0.008352, allocations: 8 kB / 0.5237 GB, free: 14.16 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.0002158/0.008568, allocations: 119.7 kB / 0.5238 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.476e-05/0.008643, allocations: 9.594 kB / 0.5238 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.008645, allocations: 0 / 0.5238 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.603e-06/0.008652, allocations: 0 / 0.5238 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.008788, allocations: 11.2 kB / 0.5238 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002497/0.009038, allocations: 82.28 kB / 0.5239 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.669e-05/0.009095, allocations: 55.36 kB / 0.524 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.818e-05/0.009113, allocations: 0 / 0.524 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.009144, allocations: 15.09 kB / 0.524 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/0.009144, allocations: 0 / 0.524 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of Templates: time 0.002937/0.01208, allocations: 416.4 kB / 0.5244 GB, free: 13.43 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.895873037050478]