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.0008496/0.0008496, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009742/0.0009742, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.078/1.078, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7596/0.7596, allocations: 154.6 MB / 415.6 MB, free: 496 kB / 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 179] 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.223e-06/1.223e-06, allocations: 0 / 0.5216 GB, free: 1.844 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.39e-05, allocations: 2.312 kB / 0.5216 GB, free: 1.84 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001325/0.001339, allocations: 0.6065 MB / 0.5222 GB, free: 1.254 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.002887, allocations: 1.306 MB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.552e-05/0.002902, allocations: 1.438 kB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.002916, allocations: 0 / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.401e-06/0.002922, allocations: 0 / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.00326, allocations: 72.45 kB / 0.5235 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 3.937e-05/0.0033, allocations: 7.922 kB / 0.5235 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.581e-05/0.003335, allocations: 4.875 kB / 0.5235 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 2.124e-05/0.003357, allocations: 0 / 0.5235 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.764e-05/0.003394, allocations: 0 / 0.5235 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.646e-06/0.003403, allocations: 3.031 kB / 0.5235 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002411/0.003644, allocations: 107.9 kB / 0.5236 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.116e-06/0.003652, allocations: 0 / 0.5236 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.425e-06/0.003661, allocations: 0 / 0.5236 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.003788, allocations: 75.8 kB / 0.5237 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.664e-06/0.003789, allocations: 0 / 0.5237 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.71e-07/0.00379, allocations: 0 / 0.5237 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.885e-06/0.003793, allocations: 0 / 0.5237 GB, free: 15.67 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.0002518/0.004044, allocations: 360.8 kB / 0.5241 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.004075, allocations: 9.25 kB / 0.5241 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.176e-05/0.004097, allocations: 0.9375 kB / 0.5241 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.905e-05/0.004156, allocations: 116.6 kB / 0.5242 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.004169, allocations: 384 / 0.5242 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-06/0.004174, allocations: 1.344 kB / 0.5242 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.353e-05/0.004227, allocations: 30.2 kB / 0.5242 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.19e-06/0.004232, allocations: 1.156 kB / 0.5242 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.738e-06/0.004237, allocations: 4.375 kB / 0.5242 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.004242, allocations: 4.875 kB / 0.5242 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.17e-05/0.004254, allocations: 7.938 kB / 0.5242 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.023e-05/0.004334, allocations: 97.25 kB / 0.5243 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.127e-05/0.004365, allocations: 23.81 kB / 0.5243 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.196e-05/0.004377, allocations: 8.625 kB / 0.5244 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002016/0.004579, allocations: 45.27 kB / 0.5244 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.004598, allocations: 33.39 kB / 0.5244 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.004598, allocations: 0.625 kB / 0.5244 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 8.514e-05/0.004684, allocations: 43.45 kB / 0.5245 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.004708, allocations: 51.41 kB / 0.5245 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.725e-05/0.004746, allocations: 142.2 kB / 0.5247 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.004754, allocations: 25.7 kB / 0.5247 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.737e-05/0.004782, allocations: 126.9 kB / 0.5248 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.004802, allocations: 1.469 kB / 0.5248 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.004829, allocations: 23.36 kB / 0.5248 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.004937, allocations: 496.1 kB / 0.5253 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.969e-06/0.004942, allocations: 0.5312 kB / 0.5253 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.583e-06/0.004949, allocations: 5.812 kB / 0.5253 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.098e-05/0.00497, allocations: 7.688 kB / 0.5253 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.004971, allocations: 0 / 0.5253 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.322e-05/0.005014, allocations: 37.64 kB / 0.5253 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.005024, allocations: 8.188 kB / 0.5254 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.005029, allocations: 0 / 0.5254 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/0.005035, allocations: 0 / 0.5254 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.959e-05/0.005065, allocations: 11.98 kB / 0.5254 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.005068, allocations: 0 / 0.5254 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.253e-05/0.00508, allocations: 6.688 kB / 0.5254 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-06/0.005084, allocations: 0 / 0.5254 GB, free: 13.8 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.66e-05/0.005141, allocations: 156.6 kB / 0.5255 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-06/0.005145, allocations: 4 kB / 0.5255 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.686e-05/0.005202, allocations: 44.56 kB / 0.5256 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.005203, allocations: 1.812 kB / 0.5256 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.005204, allocations: 0 / 0.5256 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.005206, allocations: 3.938 kB / 0.5256 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.797e-05/0.005264, allocations: 97.2 kB / 0.5257 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.005265, allocations: 0 / 0.5257 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.584e-06/0.005273, allocations: 2.406 kB / 0.5257 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.41e-07/0.005273, allocations: 0 / 0.5257 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.005278, allocations: 4 kB / 0.5257 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.005279, allocations: 3.984 kB / 0.5257 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.00528, allocations: 0 / 0.5257 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.113e-05/0.005331, allocations: 77.2 kB / 0.5258 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-06/0.005334, allocations: 4 kB / 0.5258 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-06/0.005341, allocations: 4 kB / 0.5258 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.741e-06/0.005347, allocations: 0.6562 kB / 0.5258 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-06/0.005355, allocations: 0 / 0.5258 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.005357, allocations: 0.5312 kB / 0.5258 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.847e-05/0.005386, allocations: 130.2 kB / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.005386, allocations: 0 / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001779/0.005564, allocations: 11.92 kB / 0.5259 GB, free: 13.22 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 9.931e-05/0.005663, allocations: 103.2 kB / 0.526 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.813e-05/0.005711, allocations: 15.67 kB / 0.526 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.005713, allocations: 4 kB / 0.526 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.585e-06/0.005721, allocations: 14.81 kB / 0.526 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/0.005828, allocations: 7 kB / 0.526 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001222/0.00595, allocations: 80 kB / 0.5261 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.736e-05/0.005977, allocations: 51.36 kB / 0.5262 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.581e-05/0.005993, allocations: 3.984 kB / 0.5262 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.006023, allocations: 71.7 kB / 0.5262 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/0.006023, allocations: 0 / 0.5262 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of Templates: time 0.002008/0.008031, allocations: 465.6 kB / 0.5267 GB, free: 12.38 MB / 0.4948 GB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7321401978842914]