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.002272/0.002272, allocations: 93.47 kB / 19.44 MB, free: 336 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.003099/0.003099, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.577/1.577, allocations: 177.1 MB / 203.1 MB, free: 5.543 MB / 186.7 MB " [Timeout remaining time 178] 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 1.363/1.363, allocations: 154.8 MB / 414.4 MB, free: 476 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 178] 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.473e-06/1.473e-06, allocations: 0 / 0.5199 GB, free: 2.289 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.661e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.285 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001654/0.00168, allocations: 0.5919 MB / 0.5205 GB, free: 1.715 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.003957, allocations: 1.3 MB / 0.5218 GB, free: 412 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.76e-05/0.003975, allocations: 0 / 0.5218 GB, free: 412 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.201e-05/0.003987, allocations: 0 / 0.5218 GB, free: 412 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.071e-06/0.003993, allocations: 0 / 0.5218 GB, free: 412 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.004414, allocations: 75.61 kB / 0.5218 GB, free: 336 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.995e-05/0.004454, allocations: 0 / 0.5218 GB, free: 336 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.192e-05/0.004486, allocations: 0 / 0.5218 GB, free: 336 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.591e-05/0.004522, allocations: 7.984 kB / 0.5218 GB, free: 328 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.963e-05/0.004572, allocations: 0.5 kB / 0.5218 GB, free: 328 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.004584, allocations: 1.031 kB / 0.5218 GB, free: 328 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003212/0.004905, allocations: 103.9 kB / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.947e-06/0.004914, allocations: 0 / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.894e-05/0.004933, allocations: 4.547 kB / 0.5219 GB, free: 220 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.005134, allocations: 76.75 kB / 0.522 GB, free: 144 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.005137, allocations: 0 / 0.522 GB, free: 144 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.005138, allocations: 3.938 kB / 0.522 GB, free: 140 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.005142, allocations: 4.906 kB / 0.522 GB, free: 136 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.0004547/0.005597, allocations: 356.2 kB / 0.5224 GB, free: 15.75 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.005643, allocations: 12.94 kB / 0.5224 GB, free: 15.74 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.005683, allocations: 4.938 kB / 0.5224 GB, free: 15.73 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.005786, allocations: 104.6 kB / 0.5225 GB, free: 15.61 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.005799, allocations: 1.344 kB / 0.5225 GB, free: 15.61 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.005808, allocations: 4.375 kB / 0.5225 GB, free: 15.6 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.139e-05/0.0059, allocations: 28.02 kB / 0.5225 GB, free: 15.57 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.005907, allocations: 192 / 0.5225 GB, free: 15.57 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.005914, allocations: 384 / 0.5225 GB, free: 15.57 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.005921, allocations: 3.938 kB / 0.5225 GB, free: 15.57 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.279e-05/0.005944, allocations: 7.984 kB / 0.5225 GB, free: 15.56 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.006099, allocations: 105.7 kB / 0.5226 GB, free: 15.42 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 6.745e-05/0.006167, allocations: 35.03 kB / 0.5227 GB, free: 15.38 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/0.006186, allocations: 8.906 kB / 0.5227 GB, free: 15.36 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003238/0.00651, allocations: 40.66 kB / 0.5227 GB, free: 15.32 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.006549, allocations: 35.05 kB / 0.5227 GB, free: 15.28 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.00655, allocations: 0 / 0.5227 GB, free: 15.28 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1): time 0.000166/0.006716, allocations: 41.62 kB / 0.5228 GB, free: 15.23 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.006763, allocations: 55.34 kB / 0.5228 GB, free: 15.17 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.958e-05/0.006852, allocations: 143.5 kB / 0.523 GB, free: 15.02 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.006871, allocations: 25.7 kB / 0.523 GB, free: 14.98 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 7.287e-05/0.006944, allocations: 130.9 kB / 0.5231 GB, free: 14.85 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.006981, allocations: 0.7812 kB / 0.5231 GB, free: 14.85 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.00702, allocations: 19.38 kB / 0.5231 GB, free: 14.82 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0002638/0.007283, allocations: 493.3 kB / 0.5236 GB, free: 14.33 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.007294, allocations: 0 / 0.5236 GB, free: 14.33 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.091e-05/0.007305, allocations: 4 kB / 0.5236 GB, free: 14.33 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.956e-05/0.007334, allocations: 12.39 kB / 0.5236 GB, free: 14.31 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.007339, allocations: 4.625 kB / 0.5236 GB, free: 14.31 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.768e-05/0.007407, allocations: 38.7 kB / 0.5237 GB, free: 14.27 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.00742, allocations: 4 kB / 0.5237 GB, free: 14.26 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.007425, allocations: 3.938 kB / 0.5237 GB, free: 14.26 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.007439, allocations: 0.6875 kB / 0.5237 GB, free: 14.26 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.318e-05/0.007483, allocations: 4.75 kB / 0.5237 GB, free: 14.25 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.007491, allocations: 3.938 kB / 0.5237 GB, free: 14.25 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.037e-05/0.007501, allocations: 3.25 kB / 0.5237 GB, free: 14.25 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.007506, allocations: 0 / 0.5237 GB, free: 14.25 MB / 0.4949 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 0.0001145/0.00762, allocations: 156.6 kB / 0.5238 GB, free: 14.09 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.878e-06/0.00763, allocations: 3.984 kB / 0.5238 GB, free: 14.08 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.922e-05/0.007729, allocations: 36.7 kB / 0.5239 GB, free: 14.04 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.007733, allocations: 4 kB / 0.5239 GB, free: 14.04 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.007736, allocations: 0.8438 kB / 0.5239 GB, free: 14.04 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.007743, allocations: 3.938 kB / 0.5239 GB, free: 14.03 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.007846, allocations: 108.6 kB / 0.524 GB, free: 13.89 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.007847, allocations: 4.5 kB / 0.524 GB, free: 13.89 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.915e-05/0.007866, allocations: 4.938 kB / 0.524 GB, free: 13.88 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.00787, allocations: 3.984 kB / 0.524 GB, free: 13.88 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.007878, allocations: 4 kB / 0.524 GB, free: 13.88 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.007879, allocations: 1.812 kB / 0.524 GB, free: 13.88 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.00788, allocations: 0 / 0.524 GB, free: 13.88 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.601e-05/0.007976, allocations: 72.39 kB / 0.5241 GB, free: 13.78 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.007986, allocations: 7.938 kB / 0.5241 GB, free: 13.77 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.657e-06/0.007995, allocations: 1.594 kB / 0.5241 GB, free: 13.77 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.217e-06/0.008004, allocations: 4 kB / 0.5241 GB, free: 13.77 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.00802, allocations: 0 / 0.5241 GB, free: 13.77 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.008022, allocations: 0 / 0.5241 GB, free: 13.77 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 6.575e-05/0.008088, allocations: 125.9 kB / 0.5242 GB, free: 13.65 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6e-08/0.008088, allocations: 0 / 0.5242 GB, free: 13.65 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0001945/0.008282, allocations: 11.94 kB / 0.5242 GB, free: 13.64 MB / 0.4949 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.0001983/0.008481, allocations: 111.2 kB / 0.5243 GB, free: 13.52 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 7.909e-05/0.00856, allocations: 11.69 kB / 0.5243 GB, free: 13.5 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.008562, allocations: 2.062 kB / 0.5243 GB, free: 13.5 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 1.871e-05/0.00858, allocations: 11.69 kB / 0.5243 GB, free: 13.49 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.008703, allocations: 6.5 kB / 0.5244 GB, free: 13.48 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000233/0.008936, allocations: 91.91 kB / 0.5244 GB, free: 13.36 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.45e-05/0.008991, allocations: 51.36 kB / 0.5245 GB, free: 13.29 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 1.957e-05/0.00901, allocations: 5.656 kB / 0.5245 GB, free: 13.29 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.004e-05/0.00903, allocations: 8.5 kB / 0.5245 GB, free: 13.28 MB / 0.4949 GB Notification: Performance of SimCode: time 4.91e-07/0.009031, allocations: 0.6562 kB / 0.5245 GB, free: 13.28 MB / 0.4949 GB Notification: Performance of Templates: time 0.002979/0.01201, allocations: 423 kB / 0.5249 GB, free: 12.89 MB / 0.4949 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: 6.017528316937387]