Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001341/0.001341, allocations: 88.83 kB / 19.44 MB, free: 456 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.001495/0.001495, allocations: 157.3 kB / 22.75 MB, free: 1.785 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.493/1.493, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.305/1.305, allocations: 154.6 MB / 414.1 MB, free: 0.6523 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.5197 GB, free: 1.359 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.876e-05, allocations: 2.312 kB / 0.5197 GB, free: 1.355 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001813/0.001841, allocations: 0.5851 MB / 0.5203 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.004047, allocations: 1.271 MB / 0.5215 GB, free: 15.51 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.789e-05/0.004065, allocations: 0.9688 kB / 0.5215 GB, free: 15.51 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.224e-05/0.004077, allocations: 4 kB / 0.5215 GB, free: 15.5 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.362e-06/0.004083, allocations: 0 / 0.5215 GB, free: 15.5 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004354/0.004519, allocations: 80.27 kB / 0.5216 GB, free: 15.43 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.251e-05/0.004561, allocations: 5.031 kB / 0.5216 GB, free: 15.42 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.971e-05/0.004591, allocations: 0 / 0.5216 GB, free: 15.42 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.192e-05/0.004613, allocations: 0.5625 kB / 0.5216 GB, free: 15.42 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.103e-05/0.004654, allocations: 3.938 kB / 0.5216 GB, free: 15.42 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.004666, allocations: 8.484 kB / 0.5216 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003417/0.005008, allocations: 104.6 kB / 0.5217 GB, free: 15.31 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.225e-06/0.005016, allocations: 0 / 0.5217 GB, free: 15.31 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.005037, allocations: 1.219 kB / 0.5217 GB, free: 15.31 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.005213, allocations: 71.86 kB / 0.5218 GB, free: 15.24 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005215, allocations: 0 / 0.5218 GB, free: 15.24 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.005216, allocations: 0.5938 kB / 0.5218 GB, free: 15.24 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.00522, allocations: 0 / 0.5218 GB, free: 15.24 MB / 458.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.0003529/0.005573, allocations: 260 kB / 0.522 GB, free: 14.96 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.005612, allocations: 8.031 kB / 0.522 GB, free: 14.95 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.005659, allocations: 8.891 kB / 0.522 GB, free: 14.94 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.00577, allocations: 105.8 kB / 0.5221 GB, free: 14.81 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.005782, allocations: 2.094 kB / 0.5221 GB, free: 14.81 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-06/0.005789, allocations: 384 / 0.5221 GB, free: 14.81 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.00589, allocations: 38.2 kB / 0.5222 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.005899, allocations: 192 / 0.5222 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.005907, allocations: 384 / 0.5222 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.005914, allocations: 5.406 kB / 0.5222 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.937e-05/0.005933, allocations: 0 / 0.5222 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.006074, allocations: 101.3 kB / 0.5223 GB, free: 14.64 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.933e-05/0.006124, allocations: 14.58 kB / 0.5223 GB, free: 14.61 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.855e-05/0.006152, allocations: 17.69 kB / 0.5223 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003512/0.006504, allocations: 41.44 kB / 0.5223 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.006547, allocations: 43.84 kB / 0.5224 GB, free: 14.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.006547, allocations: 0 / 0.5224 GB, free: 14.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001723/0.00672, allocations: 29.7 kB / 0.5224 GB, free: 14.47 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.006766, allocations: 55.91 kB / 0.5225 GB, free: 14.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.821e-05/0.006825, allocations: 93.2 kB / 0.5225 GB, free: 14.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.006845, allocations: 29.69 kB / 0.5226 GB, free: 14.27 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.006896, allocations: 84.14 kB / 0.5227 GB, free: 14.18 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.006923, allocations: 0 / 0.5227 GB, free: 14.18 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.006954, allocations: 9.719 kB / 0.5227 GB, free: 14.17 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.00714, allocations: 314.8 kB / 0.523 GB, free: 13.85 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.004e-05/0.00715, allocations: 4 kB / 0.523 GB, free: 13.85 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-06/0.007156, allocations: 0 / 0.523 GB, free: 13.85 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.502e-05/0.007191, allocations: 13.36 kB / 0.523 GB, free: 13.83 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.007193, allocations: 0 / 0.523 GB, free: 13.83 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.553e-05/0.007258, allocations: 34.25 kB / 0.523 GB, free: 13.79 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.007274, allocations: 8.875 kB / 0.523 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.007281, allocations: 3.984 kB / 0.523 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.007299, allocations: 1.469 kB / 0.523 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.374e-05/0.007343, allocations: 0 / 0.523 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.007351, allocations: 3.938 kB / 0.523 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.175e-05/0.007363, allocations: 4 kB / 0.523 GB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.007367, allocations: 4.875 kB / 0.523 GB, free: 13.77 MB / 458.7 MB 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 8.823e-05/0.007456, allocations: 109.8 kB / 0.5231 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.007465, allocations: 2.688 kB / 0.5231 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.007582, allocations: 52.56 kB / 0.5232 GB, free: 13.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.007584, allocations: 0 / 0.5232 GB, free: 13.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.007587, allocations: 0 / 0.5232 GB, free: 13.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.007592, allocations: 3.938 kB / 0.5232 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.007701, allocations: 96.08 kB / 0.5233 GB, free: 13.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007702, allocations: 4 kB / 0.5233 GB, free: 13.47 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.04e-05/0.007722, allocations: 4 kB / 0.5233 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.007724, allocations: 0 / 0.5233 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.00773, allocations: 0 / 0.5233 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.007733, allocations: 3.984 kB / 0.5233 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.007737, allocations: 4 kB / 0.5233 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.715e-05/0.007824, allocations: 57.98 kB / 0.5234 GB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-06/0.007832, allocations: 4 kB / 0.5234 GB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-06/0.007841, allocations: 0.9375 kB / 0.5234 GB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.377e-06/0.00785, allocations: 0 / 0.5234 GB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.007868, allocations: 7.984 kB / 0.5234 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.007871, allocations: 0.9375 kB / 0.5234 GB, free: 13.37 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.884e-05/0.007919, allocations: 83.25 kB / 0.5235 GB, free: 13.29 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007919, allocations: 4.625 kB / 0.5235 GB, free: 13.29 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002044/0.008124, allocations: 8 kB / 0.5235 GB, free: 13.28 MB / 458.7 MB 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.0002029/0.008327, allocations: 116.5 kB / 0.5236 GB, free: 13.15 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.705e-05/0.008394, allocations: 4 kB / 0.5236 GB, free: 13.15 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.008396, allocations: 2.438 kB / 0.5236 GB, free: 13.15 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.186e-05/0.008408, allocations: 7.938 kB / 0.5236 GB, free: 13.14 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.008553, allocations: 0 / 0.5236 GB, free: 13.14 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002297/0.008783, allocations: 78.44 kB / 0.5237 GB, free: 13.04 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.363e-05/0.008847, allocations: 63.2 kB / 0.5237 GB, free: 12.95 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.798e-05/0.008865, allocations: 2.875 kB / 0.5237 GB, free: 12.95 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.00889, allocations: 8.5 kB / 0.5237 GB, free: 12.95 MB / 458.7 MB Notification: Performance of SimCode: time 4.41e-07/0.008891, allocations: 0 / 0.5237 GB, free: 12.95 MB / 458.7 MB Notification: Performance of Templates: time 0.002941/0.01183, allocations: 408 kB / 0.5241 GB, free: 12.57 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.79497133102268]