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.0009897/0.0009897, allocations: 92.22 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.0009473/0.0009473, allocations: 169 kB / 23.02 MB, free: 1.551 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.9904/0.9904, allocations: 177.1 MB / 203.4 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.9132/0.9132, allocations: 154.6 MB / 414.5 MB, free: 0.668 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.934e-06/1.934e-06, allocations: 0 / 0.5204 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.308e-05/3.502e-05, allocations: 4.141 kB / 0.5204 GB, free: 2.172 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002049/0.002084, allocations: 0.6074 MB / 0.521 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.004137, allocations: 1.323 MB / 0.5223 GB, free: 256 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.864e-05/0.004166, allocations: 0 / 0.5223 GB, free: 256 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.00419, allocations: 0 / 0.5223 GB, free: 256 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.994e-06/0.004197, allocations: 0.7812 kB / 0.5223 GB, free: 256 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.004663, allocations: 68.59 kB / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.734e-05/0.00472, allocations: 0 / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.201e-05/0.004772, allocations: 7 kB / 0.5223 GB, free: 184 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.416e-05/0.004806, allocations: 11.92 kB / 0.5223 GB, free: 172 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.747e-05/0.004854, allocations: 0 / 0.5223 GB, free: 172 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.004869, allocations: 0 / 0.5223 GB, free: 172 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002817/0.005151, allocations: 99.89 kB / 0.5224 GB, free: 72 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.005162, allocations: 3.984 kB / 0.5224 GB, free: 68 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.631e-05/0.005178, allocations: 4 kB / 0.5225 GB, free: 64 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.005329, allocations: 67.89 kB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.005332, allocations: 0.625 kB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.133e-06/0.005333, allocations: 3.938 kB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.005339, allocations: 5.219 kB / 0.5225 GB, free: 15.98 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.0002879/0.005627, allocations: 356.1 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.005665, allocations: 12.03 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.005701, allocations: 1.906 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.92e-05/0.00576, allocations: 104.6 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.005772, allocations: 384 / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.005783, allocations: 5.344 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.373e-05/0.005867, allocations: 26.27 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.005876, allocations: 1.125 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.005885, allocations: 384 / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.005895, allocations: 4.688 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.812e-05/0.005913, allocations: 11.92 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.006046, allocations: 109.6 kB / 0.5231 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.223e-05/0.006089, allocations: 31.03 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.006105, allocations: 8.906 kB / 0.5232 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002774/0.006383, allocations: 40.66 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.006404, allocations: 35.2 kB / 0.5232 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.303e-06/0.006405, allocations: 0 / 0.5232 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001275/0.006533, allocations: 41.62 kB / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.006558, allocations: 55.34 kB / 0.5233 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.762e-05/0.006596, allocations: 143.8 kB / 0.5235 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.006606, allocations: 29.7 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.818e-05/0.006635, allocations: 126.9 kB / 0.5236 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.00666, allocations: 0 / 0.5236 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.006683, allocations: 19.88 kB / 0.5236 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.006795, allocations: 492.1 kB / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.11e-05/0.006806, allocations: 1.812 kB / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.935e-06/0.006814, allocations: 4 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.297e-05/0.006847, allocations: 15.67 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006849, allocations: 1.844 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.288e-05/0.006912, allocations: 41.64 kB / 0.5242 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.006928, allocations: 4 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.006934, allocations: 0 / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.006952, allocations: 2.75 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.182e-05/0.007013, allocations: 4 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.007023, allocations: 7.922 kB / 0.5242 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.067e-06/0.007032, allocations: 0 / 0.5242 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.007037, allocations: 0 / 0.5242 GB, free: 14.1 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 6.166e-05/0.007098, allocations: 156.6 kB / 0.5243 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-06/0.007104, allocations: 4 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.007213, allocations: 42.45 kB / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.007215, allocations: 0 / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.00722, allocations: 0 / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.007224, allocations: 6.344 kB / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.369e-05/0.007298, allocations: 112.6 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.0073, allocations: 3.938 kB / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.883e-05/0.007319, allocations: 0 / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.007323, allocations: 3.938 kB / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.007331, allocations: 4 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.007333, allocations: 0 / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.007334, allocations: 0.875 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.465e-05/0.007409, allocations: 76.98 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-06/0.007414, allocations: 0 / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.007427, allocations: 4.531 kB / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.83e-06/0.007432, allocations: 0 / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.007451, allocations: 7.016 kB / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.007455, allocations: 4 kB / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.432e-05/0.007489, allocations: 123.1 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.007489, allocations: 0 / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001425/0.007632, allocations: 11.94 kB / 0.5247 GB, free: 13.49 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.0002027/0.007834, allocations: 111.2 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.807e-05/0.007912, allocations: 14.81 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.007914, allocations: 0 / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.781e-06/0.00792, allocations: 11.69 kB / 0.5249 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.624e-05/0.008016, allocations: 0 / 0.5249 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001987/0.008215, allocations: 87.98 kB / 0.5249 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.706e-05/0.008242, allocations: 51.36 kB / 0.525 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.418e-05/0.008266, allocations: 9.5 kB / 0.525 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.825e-05/0.008284, allocations: 8.5 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of SimCode: time 8.02e-07/0.008285, allocations: 1.125 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of Templates: time 0.002082/0.01037, allocations: 412 kB / 0.5254 GB, free: 12.76 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: 4.042087227106094]