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.0005825/0.0005825, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008466/0.001429, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006956/0.0006956, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008748/0.00157, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9807/0.9807, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09711/1.078, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.7906/0.7906, allocations: 154.6 MB / 398.8 MB, free: 376 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3072/1.098, allocations: 49.04 MB / 447.8 MB, free: 6.551 MB / 426.7 MB " [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.252e-06/1.252e-06, allocations: 0 / 449.2 MB, free: 5.176 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.446e-05, allocations: 5.984 kB / 449.2 MB, free: 5.172 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001048/0.001062, allocations: 0.6472 MB / 449.9 MB, free: 4.562 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.002211, allocations: 1.329 MB / 451.2 MB, free: 3.227 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.678e-06/0.002221, allocations: 0.7656 kB / 451.2 MB, free: 3.227 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.936e-06/0.002224, allocations: 0 / 451.2 MB, free: 3.227 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 8.61e-07/0.002225, allocations: 2.406 kB / 451.2 MB, free: 3.227 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.002396, allocations: 65.38 kB / 451.3 MB, free: 3.164 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 3.512e-05/0.002431, allocations: 4 kB / 451.3 MB, free: 3.16 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/0.002468, allocations: 9.297 kB / 451.3 MB, free: 3.152 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.009e-05/0.002499, allocations: 0 / 451.3 MB, free: 3.152 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.038e-05/0.002539, allocations: 0 / 451.3 MB, free: 3.152 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.00255, allocations: 5.969 kB / 451.3 MB, free: 3.148 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.002769, allocations: 112.6 kB / 451.4 MB, free: 3.039 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.002781, allocations: 4.547 kB / 451.4 MB, free: 3.035 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.021e-05/0.002791, allocations: 0.6562 kB / 451.4 MB, free: 3.035 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.002903, allocations: 61.41 kB / 451.5 MB, free: 2.977 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/0.002913, allocations: 5.969 kB / 451.5 MB, free: 2.973 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.002913, allocations: 0 / 451.5 MB, free: 2.973 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.002922, allocations: 0 / 451.5 MB, free: 2.973 MB / 426.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.000231/0.003153, allocations: 236.6 kB / 451.7 MB, free: 2.719 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.003184, allocations: 9.016 kB / 451.7 MB, free: 2.711 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.406e-05/0.003208, allocations: 6.203 kB / 451.7 MB, free: 2.707 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.896e-05/0.003267, allocations: 109.7 kB / 451.8 MB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-06/0.003274, allocations: 1.469 kB / 451.8 MB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-06/0.003281, allocations: 384 / 451.8 MB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.692e-05/0.003337, allocations: 30.89 kB / 451.8 MB, free: 2.539 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.759e-06/0.003342, allocations: 0.8438 kB / 451.8 MB, free: 2.539 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-06/0.003347, allocations: 3.688 kB / 451.9 MB, free: 2.539 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.003352, allocations: 3.938 kB / 451.9 MB, free: 2.535 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.797e-06/0.00336, allocations: 4.641 kB / 451.9 MB, free: 2.531 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.155e-05/0.003422, allocations: 57.05 kB / 451.9 MB, free: 2.461 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.756e-05/0.003449, allocations: 19.36 kB / 451.9 MB, free: 2.434 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.738e-06/0.003459, allocations: 8.953 kB / 451.9 MB, free: 2.422 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/0.003649, allocations: 40.88 kB / 452 MB, free: 2.383 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.003666, allocations: 32.44 kB / 452 MB, free: 2.344 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.003667, allocations: 1.094 kB / 452 MB, free: 2.344 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 6.604e-05/0.003733, allocations: 33.69 kB / 452 MB, free: 2.305 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.003759, allocations: 51.41 kB / 452.1 MB, free: 2.242 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.436e-05/0.003783, allocations: 90.73 kB / 452.2 MB, free: 2.145 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.003794, allocations: 29.7 kB / 452.2 MB, free: 2.109 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.039e-05/0.003814, allocations: 84.14 kB / 452.3 MB, free: 2.023 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.003841, allocations: 6.906 kB / 452.3 MB, free: 2.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.003862, allocations: 13.7 kB / 452.3 MB, free: 2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.327e-05/0.003946, allocations: 319.8 kB / 452.6 MB, free: 1.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-06/0.003952, allocations: 0 / 452.6 MB, free: 1.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-06/0.003957, allocations: 0.5469 kB / 452.6 MB, free: 1.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.7e-05/0.003984, allocations: 14.16 kB / 452.6 MB, free: 1.664 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.003986, allocations: 0 / 452.6 MB, free: 1.664 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.869e-05/0.004015, allocations: 30.36 kB / 452.7 MB, free: 1.629 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.004024, allocations: 5.219 kB / 452.7 MB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.004028, allocations: 0.6562 kB / 452.7 MB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.004039, allocations: 0 / 452.7 MB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.647e-05/0.004075, allocations: 7.938 kB / 452.7 MB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.004078, allocations: 1.062 kB / 452.7 MB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.815e-06/0.004086, allocations: 0 / 452.7 MB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.004093, allocations: 6.938 kB / 452.7 MB, free: 1.613 MB / 426.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 0.0003328/0.004426, allocations: 116.3 kB / 452.8 MB, free: 1.492 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-06/0.004429, allocations: 0 / 452.8 MB, free: 1.492 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.681e-05/0.004486, allocations: 38.92 kB / 452.8 MB, free: 1.449 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.004487, allocations: 0 / 452.8 MB, free: 1.449 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.004488, allocations: 0 / 452.8 MB, free: 1.449 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.004491, allocations: 0 / 452.8 MB, free: 1.449 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.561e-05/0.004536, allocations: 79.33 kB / 452.9 MB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.004537, allocations: 0 / 452.9 MB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.492e-06/0.004543, allocations: 0 / 452.9 MB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.916e-06/0.004546, allocations: 0 / 452.9 MB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.004548, allocations: 4.688 kB / 452.9 MB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-06/0.004551, allocations: 0 / 452.9 MB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.004551, allocations: 1.438 kB / 452.9 MB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.004552, allocations: 0 / 452.9 MB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.661e-05/0.004589, allocations: 62.22 kB / 453 MB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.822e-06/0.004596, allocations: 4 kB / 453 MB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.606e-06/0.004599, allocations: 0.75 kB / 453 MB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-06/0.004608, allocations: 0 / 453 MB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-06/0.004609, allocations: 0.5 kB / 453 MB, free: 1.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.871e-06/0.004615, allocations: 4.859 kB / 453 MB, free: 1.262 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.004615, allocations: 1.562 kB / 453 MB, free: 1.262 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001058/0.004721, allocations: 11.94 kB / 453 MB, free: 1.25 MB / 426.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.0001141/0.004835, allocations: 101.5 kB / 453.1 MB, free: 1.141 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.8e-05/0.004883, allocations: 14.12 kB / 453.1 MB, free: 1.125 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.004886, allocations: 0.625 kB / 453.1 MB, free: 1.125 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.07e-05/0.004896, allocations: 14.28 kB / 453.1 MB, free: 1.109 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.1e-05/0.004947, allocations: 5.906 kB / 453.1 MB, free: 1.105 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001297/0.005077, allocations: 80.33 kB / 453.2 MB, free: 1.004 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.553e-05/0.005102, allocations: 60.22 kB / 453.3 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.436e-05/0.005117, allocations: 1.156 kB / 453.3 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.005141, allocations: 47.38 kB / 453.3 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.005142, allocations: 0 / 453.3 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of Templates: time 0.001646/0.006788, allocations: 477.3 kB / 453.8 MB, free: 452 kB / 426.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.462695046328008]