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.0009555/0.0009555, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009532/0.0009532, allocations: 173 kB / 23.49 MB, free: 1.055 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.083/1.083, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.8323/0.8323, allocations: 154.6 MB / 414.9 MB, free: 0.707 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.973e-06/1.973e-06, allocations: 0 / 0.5204 GB, free: 2.461 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.764e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.457 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001866/0.001894, allocations: 0.5987 MB / 0.521 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.003697, allocations: 1.31 MB / 0.5223 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.345e-05/0.00372, allocations: 1.562 kB / 0.5223 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.003741, allocations: 0 / 0.5223 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.213e-06/0.003748, allocations: 0 / 0.5223 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.00421, allocations: 79.61 kB / 0.5223 GB, free: 488 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.18e-05/0.004262, allocations: 1.812 kB / 0.5223 GB, free: 488 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.004306, allocations: 4 kB / 0.5223 GB, free: 484 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.607e-05/0.004332, allocations: 0 / 0.5223 GB, free: 484 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.765e-05/0.004379, allocations: 0 / 0.5223 GB, free: 484 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.004392, allocations: 1.75 kB / 0.5223 GB, free: 484 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003208/0.004713, allocations: 115.8 kB / 0.5225 GB, free: 368 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.498e-06/0.004723, allocations: 0 / 0.5225 GB, free: 368 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.004741, allocations: 0 / 0.5225 GB, free: 368 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.004912, allocations: 75.8 kB / 0.5225 GB, free: 292 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.004916, allocations: 0.75 kB / 0.5225 GB, free: 292 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.004918, allocations: 0 / 0.5225 GB, free: 292 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.004923, allocations: 1.406 kB / 0.5225 GB, free: 292 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.0003385/0.005261, allocations: 352.2 kB / 0.5229 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.005304, allocations: 8.031 kB / 0.5229 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.005346, allocations: 0.9375 kB / 0.5229 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.005e-05/0.005426, allocations: 118 kB / 0.523 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.005438, allocations: 384 / 0.523 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.005447, allocations: 4.312 kB / 0.523 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.619e-05/0.005543, allocations: 27.8 kB / 0.523 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.00555, allocations: 4.188 kB / 0.523 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.005559, allocations: 384 / 0.523 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.005568, allocations: 3.938 kB / 0.523 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.643e-05/0.005585, allocations: 6.406 kB / 0.523 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.005711, allocations: 112.6 kB / 0.5231 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.268e-05/0.005754, allocations: 23.06 kB / 0.5232 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.066e-05/0.005775, allocations: 15.67 kB / 0.5232 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003309/0.006106, allocations: 37.19 kB / 0.5232 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.006136, allocations: 37.39 kB / 0.5233 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.006138, allocations: 4.875 kB / 0.5233 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001536/0.006291, allocations: 35.17 kB / 0.5233 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.006325, allocations: 55.34 kB / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.827e-05/0.006373, allocations: 142.2 kB / 0.5235 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.006386, allocations: 29.69 kB / 0.5235 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.006422, allocations: 127.9 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.006452, allocations: 0 / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.006481, allocations: 23.38 kB / 0.5237 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.006613, allocations: 493.1 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.006629, allocations: 4 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-06/0.006637, allocations: 3.25 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.977e-05/0.006676, allocations: 11.69 kB / 0.5241 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.006678, allocations: 0 / 0.5241 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6e-05/0.006738, allocations: 37.62 kB / 0.5242 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.006754, allocations: 4 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.00676, allocations: 0 / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.006774, allocations: 0 / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.219e-05/0.006826, allocations: 4 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.006832, allocations: 6.938 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.126e-05/0.006844, allocations: 0 / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.006849, allocations: 0 / 0.5242 GB, free: 14.41 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 7.873e-05/0.006927, allocations: 160.6 kB / 0.5243 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-06/0.006935, allocations: 352 / 0.5243 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.644e-05/0.007032, allocations: 45.72 kB / 0.5244 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.007034, allocations: 0 / 0.5244 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.007037, allocations: 7.938 kB / 0.5244 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.007041, allocations: 3.938 kB / 0.5244 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.331e-05/0.007115, allocations: 109.1 kB / 0.5245 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.007116, allocations: 0 / 0.5245 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.731e-05/0.007133, allocations: 6.344 kB / 0.5245 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.007136, allocations: 0 / 0.5245 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.007143, allocations: 4 kB / 0.5245 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.007146, allocations: 3.984 kB / 0.5245 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.007149, allocations: 3.984 kB / 0.5245 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.92e-05/0.007218, allocations: 70.83 kB / 0.5246 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-06/0.007223, allocations: 0 / 0.5246 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.007233, allocations: 0 / 0.5246 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-06/0.007241, allocations: 4 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.007259, allocations: 11.92 kB / 0.5246 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.00726, allocations: 0 / 0.5246 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.581e-05/0.007296, allocations: 123.1 kB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.007296, allocations: 1.906 kB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002098/0.007506, allocations: 11.94 kB / 0.5247 GB, free: 13.79 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.0001914/0.007698, allocations: 119.2 kB / 0.5248 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.694e-05/0.007785, allocations: 12.66 kB / 0.5249 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.007787, allocations: 0 / 0.5249 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.866e-06/0.007796, allocations: 10.12 kB / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.007928, allocations: 4 kB / 0.5249 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002209/0.008149, allocations: 83.95 kB / 0.525 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.588e-05/0.008185, allocations: 59.34 kB / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.285e-05/0.008208, allocations: 2.625 kB / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.008226, allocations: 12.44 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/0.008227, allocations: 0 / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.002583/0.01081, allocations: 418.9 kB / 0.5254 GB, free: 13.04 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.7648650009650737]