Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001014/0.001014, allocations: 88.23 kB / 19.64 MB, free: 308 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.001095/0.001095, allocations: 168.9 kB / 23.02 MB, free: 1.574 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.014/1.014, allocations: 177.1 MB / 203.4 MB, free: 5.66 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.796/0.796, allocations: 154.9 MB / 414.8 MB, free: 392 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0.5469 kB / 0.5207 GB, free: 1.766 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.869e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.762 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001422/0.001441, allocations: 0.5985 MB / 0.5213 GB, free: 1.188 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.003163, allocations: 1.32 MB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.402e-05/0.003177, allocations: 1.25 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.003193, allocations: 0 / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.109e-06/0.003198, allocations: 0 / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.003546, allocations: 84.91 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 3.401e-05/0.00358, allocations: 0 / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 2.234e-05/0.003602, allocations: 0 / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 1.785e-05/0.00362, allocations: 4.812 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.87e-05/0.003649, allocations: 0 / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.744e-06/0.003656, allocations: 1.281 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002281/0.003885, allocations: 111.8 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.789e-06/0.003889, allocations: 0 / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.752e-06/0.003896, allocations: 0 / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.004007, allocations: 73.19 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.004009, allocations: 0 / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004009, allocations: 0 / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.515e-06/0.004012, allocations: 0.7812 kB / 0.5229 GB, free: 15.59 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.000236/0.004248, allocations: 356.2 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.004285, allocations: 13.84 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.004317, allocations: 4.875 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.516e-05/0.004382, allocations: 108.6 kB / 0.5233 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-06/0.004391, allocations: 384 / 0.5233 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-06/0.004397, allocations: 4.375 kB / 0.5233 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.383e-05/0.004461, allocations: 32.36 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.004468, allocations: 192 / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.004476, allocations: 384 / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.004484, allocations: 3.938 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.346e-05/0.004498, allocations: 4 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.542e-05/0.004593, allocations: 106.1 kB / 0.5235 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.733e-05/0.00463, allocations: 31.03 kB / 0.5235 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.473e-05/0.004645, allocations: 11.67 kB / 0.5235 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002205/0.004866, allocations: 41.97 kB / 0.5236 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.004884, allocations: 33.39 kB / 0.5236 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.004885, allocations: 0 / 0.5236 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 8.969e-05/0.004975, allocations: 34.67 kB / 0.5236 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.005004, allocations: 63.28 kB / 0.5237 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.227e-05/0.005046, allocations: 143.2 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.005059, allocations: 29.69 kB / 0.5239 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.005092, allocations: 127.4 kB / 0.524 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.005111, allocations: 0 / 0.524 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.005138, allocations: 20.16 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.005263, allocations: 492.1 kB / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-06/0.005272, allocations: 5.219 kB / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.078e-06/0.005276, allocations: 0 / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.646e-05/0.005302, allocations: 12.19 kB / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.005304, allocations: 1.781 kB / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.316e-05/0.005347, allocations: 37.69 kB / 0.5245 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.005358, allocations: 7.938 kB / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.005364, allocations: 4 kB / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.005374, allocations: 1.719 kB / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.24e-05/0.005406, allocations: 4 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.005411, allocations: 7.875 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.586e-06/0.00542, allocations: 0 / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.005424, allocations: 0 / 0.5245 GB, free: 13.7 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.035e-05/0.005484, allocations: 153.4 kB / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-06/0.005492, allocations: 9.172 kB / 0.5247 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.806e-05/0.00556, allocations: 43.81 kB / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.005561, allocations: 0 / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.005563, allocations: 0 / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.005567, allocations: 3.938 kB / 0.5247 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.595e-05/0.005623, allocations: 108.6 kB / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.005624, allocations: 0 / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.825e-06/0.005632, allocations: 0 / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.005633, allocations: 0 / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-06/0.005637, allocations: 2.75 kB / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.005639, allocations: 11.92 kB / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.005641, allocations: 0 / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.491e-05/0.005695, allocations: 76.34 kB / 0.5249 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-06/0.005699, allocations: 0 / 0.5249 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-06/0.005706, allocations: 0 / 0.5249 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.841e-06/0.005712, allocations: 0 / 0.5249 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.005725, allocations: 4.859 kB / 0.5249 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.005726, allocations: 0 / 0.5249 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.108e-05/0.005757, allocations: 127.1 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005757, allocations: 1.344 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001873/0.005945, allocations: 7.938 kB / 0.5251 GB, free: 13.09 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.0001246/0.006069, allocations: 114.9 kB / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.749e-05/0.006137, allocations: 19.62 kB / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.006138, allocations: 0 / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.793e-06/0.006145, allocations: 12.34 kB / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.75e-05/0.006222, allocations: 3 kB / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001271/0.006349, allocations: 84.52 kB / 0.5253 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.584e-05/0.006375, allocations: 55.34 kB / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.376e-05/0.006389, allocations: 5.469 kB / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.152e-05/0.006401, allocations: 14.88 kB / 0.5254 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/0.006401, allocations: 0 / 0.5254 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of Templates: time 0.001762/0.008163, allocations: 460.1 kB / 0.5258 GB, free: 12.3 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6782049341127276]