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.001061/0.001061, 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.001063/0.001063, allocations: 173.3 kB / 23.02 MB, free: 1.547 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 0.972/0.972, allocations: 177.1 MB / 203.4 MB, free: 5.594 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.7774/0.7774, allocations: 154.6 MB / 414.5 MB, free: 0.6836 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 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.743e-06/1.743e-06, allocations: 0 / 0.5204 GB, free: 1.059 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.395e-05, allocations: 8.516 kB / 0.5204 GB, free: 1.051 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.005127/0.005161, allocations: 0.6014 MB / 0.521 GB, free: 480 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004829/0.00999, allocations: 1.317 MB / 0.5223 GB, free: 15.14 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.071e-05/0.01001, allocations: 4 kB / 0.5223 GB, free: 15.14 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.896e-05/0.01003, allocations: 0 / 0.5223 GB, free: 15.14 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.19e-06/0.01003, allocations: 0.5312 kB / 0.5223 GB, free: 15.14 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.01047, allocations: 72.84 kB / 0.5223 GB, free: 15.07 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.586e-05/0.01052, allocations: 4 kB / 0.5223 GB, free: 15.06 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.475e-05/0.01055, allocations: 0.6875 kB / 0.5223 GB, free: 15.06 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.395e-05/0.01058, allocations: 0 / 0.5223 GB, free: 15.06 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.747e-05/0.01062, allocations: 8.609 kB / 0.5223 GB, free: 15.05 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.01063, allocations: 0 / 0.5223 GB, free: 15.05 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002904/0.01092, allocations: 105.2 kB / 0.5224 GB, free: 14.95 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.748e-06/0.01093, allocations: 0 / 0.5224 GB, free: 14.95 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.634e-05/0.01094, allocations: 4 kB / 0.5224 GB, free: 14.95 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.01109, allocations: 72.78 kB / 0.5225 GB, free: 14.88 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.0111, allocations: 0 / 0.5225 GB, free: 14.88 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.0111, allocations: 0 / 0.5225 GB, free: 14.88 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.01111, allocations: 0.5 kB / 0.5225 GB, free: 14.88 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.0005519/0.01166, allocations: 363.6 kB / 0.5229 GB, free: 14.49 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.01169, allocations: 11.97 kB / 0.5229 GB, free: 14.48 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.01172, allocations: 4.938 kB / 0.5229 GB, free: 14.48 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.414e-05/0.01179, allocations: 108.6 kB / 0.523 GB, free: 14.34 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-06/0.0118, allocations: 384 / 0.523 GB, free: 14.34 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-06/0.01181, allocations: 384 / 0.523 GB, free: 14.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.78e-05/0.01188, allocations: 30.27 kB / 0.523 GB, free: 14.31 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.01189, allocations: 192 / 0.523 GB, free: 14.31 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.0119, allocations: 384 / 0.523 GB, free: 14.31 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.01191, allocations: 4.531 kB / 0.523 GB, free: 14.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.266e-05/0.01192, allocations: 0 / 0.523 GB, free: 14.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.897e-05/0.01202, allocations: 113.2 kB / 0.5231 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.018e-05/0.01206, allocations: 27.56 kB / 0.5231 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.612e-05/0.01208, allocations: 11.78 kB / 0.5232 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00338/0.01546, allocations: 42.41 kB / 0.5232 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.01549, allocations: 41.39 kB / 0.5232 GB, free: 14.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.964e-06/0.01549, allocations: 0 / 0.5232 GB, free: 14.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001545/0.01564, allocations: 34.47 kB / 0.5233 GB, free: 13.98 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.01568, allocations: 59.84 kB / 0.5233 GB, free: 13.91 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.752e-05/0.01573, allocations: 142.2 kB / 0.5235 GB, free: 13.75 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.01574, allocations: 31.67 kB / 0.5235 GB, free: 13.72 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.01577, allocations: 126.9 kB / 0.5236 GB, free: 13.59 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.0158, allocations: 0 / 0.5236 GB, free: 13.59 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.01584, allocations: 19.38 kB / 0.5236 GB, free: 13.56 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.01598, allocations: 496.1 kB / 0.5241 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.223e-05/0.01599, allocations: 0.5312 kB / 0.5241 GB, free: 13.07 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.718e-06/0.016, allocations: 0.5 kB / 0.5241 GB, free: 13.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.958e-05/0.01604, allocations: 12.41 kB / 0.5241 GB, free: 13.05 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.01604, allocations: 0.5625 kB / 0.5241 GB, free: 13.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.786e-05/0.01611, allocations: 43.06 kB / 0.5242 GB, free: 13 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.01613, allocations: 8 kB / 0.5242 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.01613, allocations: 0 / 0.5242 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.01614, allocations: 0 / 0.5242 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.388e-05/0.01621, allocations: 1.812 kB / 0.5242 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.01622, allocations: 3.938 kB / 0.5242 GB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.453e-05/0.01623, allocations: 11.92 kB / 0.5242 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.01624, allocations: 0 / 0.5242 GB, free: 12.98 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 7.145e-05/0.01631, allocations: 156.6 kB / 0.5243 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-06/0.01631, allocations: 2.75 kB / 0.5243 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.511e-05/0.01641, allocations: 40.69 kB / 0.5244 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.01641, allocations: 0 / 0.5244 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.01642, allocations: 0 / 0.5244 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.01642, allocations: 3.938 kB / 0.5244 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.358e-05/0.01649, allocations: 106.5 kB / 0.5245 GB, free: 12.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.0165, allocations: 3.984 kB / 0.5245 GB, free: 12.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-05/0.01652, allocations: 4 kB / 0.5245 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01652, allocations: 3.938 kB / 0.5245 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.01653, allocations: 0 / 0.5245 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.01653, allocations: 0.9375 kB / 0.5245 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01653, allocations: 0 / 0.5245 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.662e-05/0.01661, allocations: 73.11 kB / 0.5246 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-06/0.01661, allocations: 4.328 kB / 0.5246 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.01662, allocations: 4.656 kB / 0.5246 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.674e-06/0.01663, allocations: 0.5 kB / 0.5246 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.01664, allocations: 0 / 0.5246 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.01665, allocations: 3.062 kB / 0.5246 GB, free: 12.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.626e-05/0.01668, allocations: 123.1 kB / 0.5247 GB, free: 12.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01668, allocations: 0 / 0.5247 GB, free: 12.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002098/0.01689, allocations: 11.94 kB / 0.5247 GB, free: 12.39 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.0001937/0.01709, allocations: 115.2 kB / 0.5248 GB, free: 12.26 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.127e-05/0.01717, allocations: 15.62 kB / 0.5248 GB, free: 12.24 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01717, allocations: 3.125 kB / 0.5248 GB, free: 12.24 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.696e-06/0.01718, allocations: 11.69 kB / 0.5248 GB, free: 12.23 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.01731, allocations: 0 / 0.5248 GB, free: 12.23 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002095/0.01752, allocations: 88.08 kB / 0.5249 GB, free: 12.11 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.17e-05/0.01755, allocations: 51.36 kB / 0.525 GB, free: 12.04 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.001e-05/0.01757, allocations: 1.812 kB / 0.525 GB, free: 12.04 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.662e-05/0.01759, allocations: 8.5 kB / 0.525 GB, free: 12.03 MB / 458.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01759, allocations: 7.938 kB / 0.525 GB, free: 12.02 MB / 458.7 MB Notification: Performance of Templates: time 0.005653/0.02324, allocations: 446.4 kB / 0.5254 GB, free: 11.61 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.665351854637265]