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.0009028/0.0009028, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001018/0.001018, allocations: 177 kB / 23.36 MB, free: 1.133 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.067/1.067, allocations: 177.2 MB / 203.8 MB, free: 5.465 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.7554/0.7554, allocations: 154.6 MB / 414.8 MB, free: 0.4922 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.372e-06/1.372e-06, allocations: 0 / 480.1 MB, free: 6.836 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.218e-05, allocations: 5.25 kB / 480.1 MB, free: 6.832 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001139/0.001161, allocations: 0.6037 MB / 480.7 MB, free: 6.258 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.002429, allocations: 1.314 MB / 482 MB, free: 4.938 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.565e-05/0.002445, allocations: 0 / 482 MB, free: 4.938 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.26e-05/0.002458, allocations: 0 / 482 MB, free: 4.938 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.761e-06/0.002463, allocations: 6.312 kB / 482 MB, free: 4.934 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.002805, allocations: 81.19 kB / 482.1 MB, free: 4.855 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.111e-05/0.002846, allocations: 4 kB / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.002881, allocations: 0 / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.374e-05/0.002905, allocations: 0.7656 kB / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.974e-05/0.002945, allocations: 0.9062 kB / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.576e-06/0.002953, allocations: 4 kB / 482.1 MB, free: 4.848 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.003178, allocations: 109.2 kB / 482.2 MB, free: 4.742 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.526e-06/0.003187, allocations: 0 / 482.2 MB, free: 4.742 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.064e-05/0.003197, allocations: 1.281 kB / 482.2 MB, free: 4.742 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.003323, allocations: 77.05 kB / 482.3 MB, free: 4.668 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.003325, allocations: 0 / 482.3 MB, free: 4.668 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.003326, allocations: 0.625 kB / 482.3 MB, free: 4.668 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.00333, allocations: 0 / 482.3 MB, free: 4.668 MB / 442.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.0002103/0.003541, allocations: 226.7 kB / 482.5 MB, free: 4.426 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.003574, allocations: 8.031 kB / 482.5 MB, free: 4.418 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.368e-05/0.003598, allocations: 5.531 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.457e-05/0.003652, allocations: 106.6 kB / 482.6 MB, free: 4.285 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.003664, allocations: 4.312 kB / 482.6 MB, free: 4.281 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.003673, allocations: 6.094 kB / 482.6 MB, free: 4.281 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.54e-05/0.003738, allocations: 31.47 kB / 482.6 MB, free: 4.246 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.003745, allocations: 192 / 482.6 MB, free: 4.246 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-06/0.003751, allocations: 384 / 482.6 MB, free: 4.246 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.003756, allocations: 3.938 kB / 482.6 MB, free: 4.242 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.796e-06/0.003765, allocations: 0.5 kB / 482.6 MB, free: 4.242 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.173e-05/0.003837, allocations: 65.14 kB / 482.7 MB, free: 4.168 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.386e-05/0.003871, allocations: 18.61 kB / 482.7 MB, free: 4.141 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.026e-05/0.003881, allocations: 9.609 kB / 482.7 MB, free: 4.129 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/0.004085, allocations: 56.94 kB / 482.8 MB, free: 4.074 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.004104, allocations: 35.41 kB / 482.8 MB, free: 4.031 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.004105, allocations: 0 / 482.8 MB, free: 4.031 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 7.645e-05/0.004181, allocations: 31.53 kB / 482.9 MB, free: 3.996 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.004207, allocations: 52.12 kB / 482.9 MB, free: 3.934 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.425e-05/0.004232, allocations: 89.86 kB / 483 MB, free: 3.836 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.00424, allocations: 30.86 kB / 483 MB, free: 3.801 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.818e-05/0.004258, allocations: 80.14 kB / 483.1 MB, free: 3.719 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.004283, allocations: 0 / 483.1 MB, free: 3.719 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/0.004305, allocations: 13.7 kB / 483.1 MB, free: 3.699 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.037e-05/0.004375, allocations: 324.7 kB / 483.4 MB, free: 3.375 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-06/0.00438, allocations: 0 / 483.4 MB, free: 3.375 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.538e-06/0.004385, allocations: 0.5469 kB / 483.4 MB, free: 3.375 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.082e-05/0.004406, allocations: 8.859 kB / 483.4 MB, free: 3.363 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.004408, allocations: 0.875 kB / 483.4 MB, free: 3.363 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.743e-05/0.004445, allocations: 30.45 kB / 483.5 MB, free: 3.328 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.004456, allocations: 5.406 kB / 483.5 MB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.00446, allocations: 5.188 kB / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.004471, allocations: 0 / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.497e-05/0.004506, allocations: 5.031 kB / 483.5 MB, free: 3.316 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.00451, allocations: 3.938 kB / 483.5 MB, free: 3.312 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.885e-06/0.004518, allocations: 4 kB / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.004523, allocations: 5.547 kB / 483.5 MB, free: 3.305 MB / 442.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 4.748e-05/0.004571, allocations: 110.6 kB / 483.6 MB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-06/0.004574, allocations: 0 / 483.6 MB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.679e-05/0.004641, allocations: 38.66 kB / 483.6 MB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.004642, allocations: 0 / 483.6 MB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.004644, allocations: 0.625 kB / 483.6 MB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.004647, allocations: 0.625 kB / 483.6 MB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.014e-05/0.004697, allocations: 70.81 kB / 483.7 MB, free: 3.062 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.004698, allocations: 0.5938 kB / 483.7 MB, free: 3.062 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.384e-06/0.004705, allocations: 0 / 483.7 MB, free: 3.062 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.004706, allocations: 1.438 kB / 483.7 MB, free: 3.062 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-06/0.004709, allocations: 0 / 483.7 MB, free: 3.062 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.00471, allocations: 0 / 483.7 MB, free: 3.062 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.004712, allocations: 4 kB / 483.7 MB, free: 3.059 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.303e-05/0.004756, allocations: 62.38 kB / 483.8 MB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-06/0.004759, allocations: 0 / 483.8 MB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.582e-06/0.004765, allocations: 4.766 kB / 483.8 MB, free: 2.977 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.23e-06/0.00477, allocations: 4.719 kB / 483.8 MB, free: 2.973 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-06/0.004779, allocations: 0 / 483.8 MB, free: 2.973 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.004783, allocations: 9.016 kB / 483.8 MB, free: 2.965 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.821e-06/0.004788, allocations: 4.859 kB / 483.8 MB, free: 2.957 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.004788, allocations: 0 / 483.8 MB, free: 2.957 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001063/0.004895, allocations: 12.47 kB / 483.8 MB, free: 2.945 MB / 442.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.0001134/0.005008, allocations: 94.98 kB / 483.9 MB, free: 2.844 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.635e-05/0.005054, allocations: 12.8 kB / 483.9 MB, free: 2.828 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.005056, allocations: 0.6562 kB / 483.9 MB, free: 2.828 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.779e-06/0.005061, allocations: 6.672 kB / 483.9 MB, free: 2.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.215e-05/0.005103, allocations: 7.938 kB / 483.9 MB, free: 2.812 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000137/0.00524, allocations: 80.55 kB / 484 MB, free: 2.707 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.831e-05/0.005268, allocations: 55.36 kB / 484.1 MB, free: 2.633 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.678e-05/0.005285, allocations: 1.812 kB / 484.1 MB, free: 2.633 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.005313, allocations: 48.69 kB / 484.1 MB, free: 2.586 MB / 442.7 MB Notification: Performance of SimCode: time 4.91e-07/0.005314, allocations: 0.7188 kB / 484.1 MB, free: 2.586 MB / 442.7 MB Notification: Performance of Templates: time 0.002129/0.007443, allocations: 471.3 kB / 484.6 MB, free: 2.156 MB / 442.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.6229819832369685]