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.002241/0.002241, allocations: 85.48 kB / 19.44 MB, free: 344 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.002577/0.002577, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.587/1.587, 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 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.326/1.326, allocations: 154.6 MB / 414.1 MB, free: 0.543 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.753e-06/1.753e-06, allocations: 0 / 0.5197 GB, free: 2.441 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.854e-05/3.03e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.438 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002436/0.002466, allocations: 0.6022 MB / 0.5203 GB, free: 1.859 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002894/0.00536, allocations: 1.295 MB / 0.5215 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.78e-05/0.005378, allocations: 1.625 kB / 0.5215 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.29e-05/0.005391, allocations: 0 / 0.5215 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.392e-06/0.005397, allocations: 4 kB / 0.5215 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004972/0.005895, allocations: 71.66 kB / 0.5216 GB, free: 488 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.297e-05/0.005938, allocations: 6.281 kB / 0.5216 GB, free: 484 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.005973, allocations: 4 kB / 0.5216 GB, free: 480 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.111e-05/0.006004, allocations: 0 / 0.5216 GB, free: 480 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.194e-05/0.006046, allocations: 0 / 0.5216 GB, free: 480 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.006057, allocations: 3.938 kB / 0.5216 GB, free: 476 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004324/0.006489, allocations: 104.4 kB / 0.5217 GB, free: 372 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.006502, allocations: 4 kB / 0.5217 GB, free: 368 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.427e-05/0.006516, allocations: 1.469 kB / 0.5217 GB, free: 368 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.006759, allocations: 79.72 kB / 0.5218 GB, free: 288 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.006762, allocations: 0 / 0.5218 GB, free: 288 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006763, allocations: 0 / 0.5218 GB, free: 288 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.006767, allocations: 0.9688 kB / 0.5218 GB, free: 288 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.0005292/0.007296, allocations: 356.2 kB / 0.5221 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.007337, allocations: 9 kB / 0.5221 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.007379, allocations: 0.9375 kB / 0.5221 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.007512, allocations: 108.6 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.007525, allocations: 1.375 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.007532, allocations: 384 / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.007636, allocations: 34.75 kB / 0.5223 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.007646, allocations: 192 / 0.5223 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.007655, allocations: 1.062 kB / 0.5223 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.007662, allocations: 5.156 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.465e-05/0.007687, allocations: 3.938 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/0.007881, allocations: 112.6 kB / 0.5224 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.973e-05/0.007961, allocations: 23.69 kB / 0.5224 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.219e-05/0.007993, allocations: 15.72 kB / 0.5224 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004253/0.008418, allocations: 41.77 kB / 0.5225 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/0.008466, allocations: 37.39 kB / 0.5225 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.008468, allocations: 1.719 kB / 0.5225 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001808/0.008648, allocations: 33.64 kB / 0.5226 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.008708, allocations: 59.34 kB / 0.5226 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.008823, allocations: 143.7 kB / 0.5227 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.008849, allocations: 25.7 kB / 0.5228 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.346e-05/0.008943, allocations: 130.9 kB / 0.5229 GB, free: 15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.008971, allocations: 0 / 0.5229 GB, free: 15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.00902, allocations: 15.88 kB / 0.5229 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000353/0.009373, allocations: 0.4884 MB / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.009387, allocations: 0.75 kB / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.507e-06/0.009397, allocations: 0.5625 kB / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.29e-05/0.00944, allocations: 17.09 kB / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.009441, allocations: 0 / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.796e-05/0.009539, allocations: 37.64 kB / 0.5234 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.009554, allocations: 10.56 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.009558, allocations: 0 / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.009572, allocations: 0 / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.784e-05/0.00962, allocations: 3.984 kB / 0.5235 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.009628, allocations: 7.938 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.735e-05/0.009646, allocations: 0 / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.009651, allocations: 0 / 0.5235 GB, free: 14.39 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 0.0001394/0.009791, allocations: 155.3 kB / 0.5236 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.009803, allocations: 0 / 0.5236 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.009931, allocations: 40.7 kB / 0.5236 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.009937, allocations: 7.922 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.00994, allocations: 0 / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.009947, allocations: 5.031 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.01009, allocations: 108.6 kB / 0.5238 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01009, allocations: 0 / 0.5238 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.962e-05/0.01011, allocations: 0.9375 kB / 0.5238 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.01011, allocations: 0 / 0.5238 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.01011, allocations: 0.9375 kB / 0.5238 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/0.01012, allocations: 7.984 kB / 0.5238 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01012, allocations: 3.938 kB / 0.5238 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.01025, allocations: 77.5 kB / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.01027, allocations: 7.938 kB / 0.5239 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.01028, allocations: 1.719 kB / 0.5239 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.5e-05/0.01029, allocations: 0 / 0.5239 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/0.01031, allocations: 0 / 0.5239 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.01031, allocations: 0 / 0.5239 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.78e-05/0.0104, allocations: 127.1 kB / 0.524 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.0104, allocations: 4.594 kB / 0.524 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003621/0.01076, allocations: 11.92 kB / 0.524 GB, free: 13.78 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.0002208/0.01098, allocations: 104.6 kB / 0.5241 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.751e-05/0.01108, allocations: 20.92 kB / 0.5241 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.01109, allocations: 4 kB / 0.5241 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.181e-05/0.01111, allocations: 7.688 kB / 0.5241 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.01131, allocations: 2.438 kB / 0.5241 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.01157, allocations: 80 kB / 0.5242 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.929e-05/0.01164, allocations: 55.36 kB / 0.5243 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.401e-05/0.01166, allocations: 3 kB / 0.5243 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.01169, allocations: 12.48 kB / 0.5243 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.01169, allocations: 0 / 0.5243 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of Templates: time 0.004296/0.01598, allocations: 414.8 kB / 0.5247 GB, free: 13.05 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: 5.9959307729732245]