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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 225.6 MB / 249.4 MB, free: 3.293 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.101/1.101, allocations: 175.7 MB / 480.2 MB, free: 2.773 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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=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 0.001991/0.001991, allocations: 69.98 kB / 0.6684 GB, free: 10.62 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2174, allocations: 94.54 MB / 0.7607 GB, free: 272 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002045/0.2195, allocations: 0.5913 MB / 0.7613 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.2212, allocations: 1.266 MB / 0.7626 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.2212, allocations: 0 / 0.7626 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.2213, allocations: 0 / 0.7626 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.883e-06/0.2213, allocations: 0 / 0.7626 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.2216, allocations: 63.75 kB / 0.7626 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.348e-05/0.2217, allocations: 7.938 kB / 0.7626 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.2217, allocations: 3.984 kB / 0.7626 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.562e-05/0.2218, allocations: 0 / 0.7626 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.631e-05/0.2218, allocations: 11.98 kB / 0.7626 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.546e-06/0.2218, allocations: 0 / 0.7626 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.2221, allocations: 91.91 kB / 0.7627 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.2221, allocations: 7.984 kB / 0.7627 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.696e-05/0.2221, allocations: 0 / 0.7627 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.2222, allocations: 51.88 kB / 0.7628 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2222, allocations: 0 / 0.7628 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2222, allocations: 0 / 0.7628 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.2222, allocations: 0 / 0.7628 GB, free: 14.16 MB / 0.5762 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.0003928/0.2226, allocations: 328.9 kB / 0.7631 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.2227, allocations: 12.03 kB / 0.7631 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.2227, allocations: 8.875 kB / 0.7631 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.2229, allocations: 164.4 kB / 0.7633 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.2229, allocations: 384 / 0.7633 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.2229, allocations: 384 / 0.7633 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.223, allocations: 37.95 kB / 0.7633 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.223, allocations: 3.938 kB / 0.7633 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.223, allocations: 0 / 0.7633 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.223, allocations: 0 / 0.7633 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.934e-05/0.223, allocations: 4 kB / 0.7633 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.2232, allocations: 145.7 kB / 0.7635 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.118e-05/0.2233, allocations: 22.56 kB / 0.7635 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.892e-05/0.2233, allocations: 8.953 kB / 0.7635 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006949/0.224, allocations: 0.5583 MB / 0.764 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.224, allocations: 42.48 kB / 0.7641 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.224, allocations: 0 / 0.7641 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001526/0.2242, allocations: 33.7 kB / 0.7641 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.2242, allocations: 55.41 kB / 0.7642 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.045e-05/0.2243, allocations: 89.86 kB / 0.7642 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.2243, allocations: 25.7 kB / 0.7643 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.329e-05/0.2243, allocations: 80.14 kB / 0.7643 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.2244, allocations: 8.078 kB / 0.7643 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.2244, allocations: 9.719 kB / 0.7644 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2245, allocations: 318.8 kB / 0.7647 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.204e-05/0.2246, allocations: 3.984 kB / 0.7647 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.794e-06/0.2246, allocations: 3.938 kB / 0.7647 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.914e-05/0.2246, allocations: 8.859 kB / 0.7647 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2246, allocations: 0 / 0.7647 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.882e-05/0.2247, allocations: 29.77 kB / 0.7647 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.2247, allocations: 15.97 kB / 0.7647 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2247, allocations: 0 / 0.7647 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.2247, allocations: 0 / 0.7647 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.827e-05/0.2247, allocations: 0 / 0.7647 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2247, allocations: 0 / 0.7647 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.092e-05/0.2248, allocations: 4 kB / 0.7647 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.2248, allocations: 3.984 kB / 0.7647 GB, free: 11.81 MB / 0.5762 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 8.684e-05/0.2249, allocations: 109.8 kB / 0.7648 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-06/0.2249, allocations: 3.938 kB / 0.7648 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.225, allocations: 44.77 kB / 0.7649 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.225, allocations: 0 / 0.7649 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.225, allocations: 0 / 0.7649 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.225, allocations: 0 / 0.7649 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.2251, allocations: 149.6 kB / 0.765 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2251, allocations: 7.938 kB / 0.765 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.54e-05/0.2251, allocations: 4 kB / 0.765 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.2251, allocations: 3.938 kB / 0.765 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.2251, allocations: 4.031 kB / 0.765 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.2251, allocations: 0 / 0.765 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2251, allocations: 0 / 0.765 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.15e-05/0.2252, allocations: 65.06 kB / 0.7651 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.2253, allocations: 77.11 kB / 0.7652 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.2253, allocations: 3.938 kB / 0.7652 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.966e-06/0.2253, allocations: 0 / 0.7652 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.2253, allocations: 12.02 kB / 0.7652 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.2253, allocations: 0 / 0.7652 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.046e-05/0.2253, allocations: 75.28 kB / 0.7653 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2253, allocations: 0 / 0.7653 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002149/0.2255, allocations: 15.92 kB / 0.7653 GB, free: 11.14 MB / 0.5762 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.0001886/0.2257, allocations: 103.2 kB / 0.7654 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.351e-05/0.2258, allocations: 8 kB / 0.7654 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2258, allocations: 0 / 0.7654 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.236e-06/0.2258, allocations: 8 kB / 0.7654 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.226, allocations: 5.875 kB / 0.7654 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002168/0.2262, allocations: 93 kB / 0.7655 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.2265, allocations: 0.669 MB / 0.7661 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.926e-05/0.2265, allocations: 0 / 0.7661 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.516e-05/0.2265, allocations: 11.44 kB / 0.7662 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.2265, allocations: 0 / 0.7662 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of Templates: time 0.002675/0.2292, allocations: 306.8 kB / 0.7664 GB, free: 9.891 MB / 0.5762 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.219838831573725]