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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008368/0.008368, allocations: 102 kB / 15.73 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 195.6 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8804/0.8804, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 65.27 kB / 0.5814 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.223, allocations: 80.2 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0023/0.2254, allocations: 0.5708 MB / 0.6603 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002209/0.2276, allocations: 1.258 MB / 0.6615 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.2277, allocations: 0 / 0.6615 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/0.2277, allocations: 4 kB / 0.6615 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.04e-05/0.2278, allocations: 0 / 0.6615 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005568/0.2283, allocations: 59.81 kB / 0.6616 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.962e-05/0.2284, allocations: 0 / 0.6616 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.032e-05/0.2285, allocations: 7.984 kB / 0.6616 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.933e-05/0.2285, allocations: 0 / 0.6616 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.913e-05/0.2285, allocations: 0 / 0.6616 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.746e-06/0.2286, allocations: 0 / 0.6616 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000279/0.2288, allocations: 103.8 kB / 0.6617 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.2289, allocations: 0 / 0.6617 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.2289, allocations: 11.94 kB / 0.6617 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.2291, allocations: 39.94 kB / 0.6617 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2291, allocations: 4 kB / 0.6617 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2291, allocations: 0 / 0.6617 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.2291, allocations: 0 / 0.6617 GB, free: 11.44 MB / 0.4981 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.0003749/0.2295, allocations: 327.6 kB / 0.662 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.2295, allocations: 12.03 kB / 0.662 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.2296, allocations: 0.9375 kB / 0.662 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.2297, allocations: 160.4 kB / 0.6622 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.2297, allocations: 4.375 kB / 0.6622 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-06/0.2297, allocations: 384 / 0.6622 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.2298, allocations: 34.02 kB / 0.6622 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2299, allocations: 0 / 0.6622 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.2299, allocations: 3.938 kB / 0.6622 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.2299, allocations: 0 / 0.6622 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.574e-05/0.2299, allocations: 0 / 0.6622 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.2301, allocations: 153.7 kB / 0.6624 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.964e-05/0.2302, allocations: 18.58 kB / 0.6624 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.927e-05/0.2302, allocations: 4.859 kB / 0.6624 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006352/0.2308, allocations: 0.5584 MB / 0.663 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.688e-05/0.2309, allocations: 42.48 kB / 0.663 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.2309, allocations: 0 / 0.663 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002333/0.2311, allocations: 33.73 kB / 0.663 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.2312, allocations: 55.44 kB / 0.6631 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.947e-05/0.2313, allocations: 89.86 kB / 0.6632 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.2313, allocations: 25.7 kB / 0.6632 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.653e-05/0.2314, allocations: 80.14 kB / 0.6633 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/0.2314, allocations: 7.938 kB / 0.6633 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.2315, allocations: 13.72 kB / 0.6633 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.2317, allocations: 314.8 kB / 0.6636 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.2317, allocations: 3.938 kB / 0.6636 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.442e-05/0.2318, allocations: 8 kB / 0.6636 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.365e-05/0.2318, allocations: 8.797 kB / 0.6636 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.2318, allocations: 4 kB / 0.6636 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.68e-05/0.2319, allocations: 37.7 kB / 0.6636 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.232, allocations: 7.938 kB / 0.6637 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.232, allocations: 0 / 0.6637 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.381e-05/0.232, allocations: 0 / 0.6637 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.517e-05/0.2321, allocations: 4 kB / 0.6637 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.2321, allocations: 8.078 kB / 0.6637 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.87e-05/0.2321, allocations: 3.984 kB / 0.6637 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.2321, allocations: 0 / 0.6637 GB, free: 9.09 MB / 0.4981 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.0001195/0.2323, allocations: 110.5 kB / 0.6638 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.2323, allocations: 3.938 kB / 0.6638 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.2325, allocations: 40.75 kB / 0.6638 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2325, allocations: 0 / 0.6638 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.2325, allocations: 4.031 kB / 0.6638 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.2325, allocations: 3.984 kB / 0.6638 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.2327, allocations: 149.7 kB / 0.664 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.2327, allocations: 0 / 0.664 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.199e-05/0.2327, allocations: 0 / 0.664 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.2327, allocations: 3.938 kB / 0.664 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.2328, allocations: 4 kB / 0.664 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2328, allocations: 0 / 0.664 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2328, allocations: 0 / 0.664 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.2329, allocations: 65.03 kB / 0.664 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.207e-05/0.233, allocations: 84.98 kB / 0.6641 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.233, allocations: 7.938 kB / 0.6641 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.044e-05/0.233, allocations: 0 / 0.6641 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.2331, allocations: 0 / 0.6641 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.2331, allocations: 0 / 0.6641 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.373e-05/0.2331, allocations: 75.28 kB / 0.6642 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.455e-06/0.2331, allocations: 0 / 0.6642 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002671/0.2334, allocations: 15.92 kB / 0.6642 GB, free: 8.426 MB / 0.4981 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.00026/0.2337, allocations: 107.3 kB / 0.6643 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.2338, allocations: 4 kB / 0.6643 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2338, allocations: 0 / 0.6643 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.044e-06/0.2338, allocations: 0 / 0.6643 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.234, allocations: 6.188 kB / 0.6643 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.2344, allocations: 88.86 kB / 0.6644 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.2348, allocations: 0.673 MB / 0.6651 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.865e-05/0.2348, allocations: 11.94 kB / 0.6651 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.2349, allocations: 7.438 kB / 0.6651 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.2349, allocations: 0 / 0.6651 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of Templates: time 0.003287/0.2382, allocations: 293 kB / 0.6654 GB, free: 7.184 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile (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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)