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.001308/0.001307, allocations: 115.5 kB / 17.08 MB, free: 5.988 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.001299/0.001299, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.436/1.436, allocations: 222.9 MB / 245.7 MB, free: 4.223 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.149/1.149, allocations: 173.4 MB / 471.3 MB, free: 6.703 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.001938/0.001938, allocations: 67.39 kB / 0.649 GB, free: 22.86 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1737, allocations: 89.53 MB / 0.7365 GB, free: 3.637 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001626/0.1754, allocations: 0.5736 MB / 0.737 GB, free: 3.066 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.1771, allocations: 1.252 MB / 0.7382 GB, free: 1.797 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.613e-05/0.1771, allocations: 0 / 0.7382 GB, free: 1.797 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.1771, allocations: 0 / 0.7382 GB, free: 1.797 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.664e-06/0.1771, allocations: 0 / 0.7382 GB, free: 1.797 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.1775, allocations: 67.69 kB / 0.7383 GB, free: 1.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.854e-05/0.1775, allocations: 3.938 kB / 0.7383 GB, free: 1.727 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.931e-05/0.1776, allocations: 4 kB / 0.7383 GB, free: 1.723 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.272e-05/0.1776, allocations: 0 / 0.7383 GB, free: 1.723 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.065e-05/0.1777, allocations: 7.984 kB / 0.7383 GB, free: 1.715 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.264e-06/0.1777, allocations: 4 kB / 0.7383 GB, free: 1.711 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/0.1779, allocations: 95.89 kB / 0.7384 GB, free: 1.617 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.807e-06/0.1779, allocations: 0 / 0.7384 GB, free: 1.617 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.342e-05/0.178, allocations: 0 / 0.7384 GB, free: 1.617 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.1781, allocations: 51.88 kB / 0.7385 GB, free: 1.566 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1781, allocations: 4 kB / 0.7385 GB, free: 1.562 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1781, allocations: 0 / 0.7385 GB, free: 1.562 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1781, allocations: 0 / 0.7385 GB, free: 1.562 MB / 0.545 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.0003535/0.1785, allocations: 327.4 kB / 0.7388 GB, free: 1.195 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1785, allocations: 16.03 kB / 0.7388 GB, free: 1.18 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.1786, allocations: 0.9375 kB / 0.7388 GB, free: 1.18 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.1787, allocations: 164.4 kB / 0.739 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1787, allocations: 4.312 kB / 0.739 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.1787, allocations: 4.312 kB / 0.739 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.34e-05/0.1788, allocations: 34.02 kB / 0.739 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1788, allocations: 0 / 0.739 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.1788, allocations: 0 / 0.739 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1788, allocations: 0 / 0.739 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.748e-05/0.1788, allocations: 0 / 0.739 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.179, allocations: 153.7 kB / 0.7391 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.952e-05/0.1791, allocations: 22.5 kB / 0.7392 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/0.1791, allocations: 4.859 kB / 0.7392 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005917/0.1797, allocations: 0.5584 MB / 0.7397 GB, free: 8 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.348e-05/0.1797, allocations: 42.5 kB / 0.7398 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1797, allocations: 0 / 0.7398 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001286/0.1799, allocations: 33.69 kB / 0.7398 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.1799, allocations: 51.41 kB / 0.7398 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.508e-05/0.18, allocations: 89.86 kB / 0.7399 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.18, allocations: 29.7 kB / 0.74 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.18, allocations: 80.14 kB / 0.74 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.1801, allocations: 3.953 kB / 0.74 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.1801, allocations: 13.84 kB / 0.74 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.1803, allocations: 318.8 kB / 0.7404 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.868e-06/0.1803, allocations: 4 kB / 0.7404 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.338e-06/0.1803, allocations: 7.984 kB / 0.7404 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.53e-05/0.1803, allocations: 8.859 kB / 0.7404 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1803, allocations: 0 / 0.7404 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.602e-05/0.1804, allocations: 29.7 kB / 0.7404 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1804, allocations: 19.97 kB / 0.7404 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.1804, allocations: 0 / 0.7404 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1804, allocations: 0 / 0.7404 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.856e-05/0.1805, allocations: 0 / 0.7404 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.1805, allocations: 0 / 0.7404 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.077e-05/0.1805, allocations: 3.938 kB / 0.7404 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1805, allocations: 4 kB / 0.7404 GB, free: 15.21 MB / 0.5606 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 7.938e-05/0.1806, allocations: 113.8 kB / 0.7405 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.1806, allocations: 3.938 kB / 0.7405 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.1807, allocations: 36.83 kB / 0.7406 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1808, allocations: 4 kB / 0.7406 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1808, allocations: 3.938 kB / 0.7406 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1808, allocations: 3.984 kB / 0.7406 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.1809, allocations: 153.7 kB / 0.7407 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1809, allocations: 0 / 0.7407 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.697e-05/0.1809, allocations: 4 kB / 0.7407 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.1809, allocations: 3.938 kB / 0.7407 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-06/0.1809, allocations: 0 / 0.7407 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1809, allocations: 4.031 kB / 0.7407 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1809, allocations: 0 / 0.7407 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.681e-05/0.181, allocations: 61.06 kB / 0.7408 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.1811, allocations: 77.11 kB / 0.7409 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.1811, allocations: 3.938 kB / 0.7409 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.217e-06/0.1811, allocations: 0 / 0.7409 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.1811, allocations: 0 / 0.7409 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.1811, allocations: 12.03 kB / 0.7409 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.205e-05/0.1812, allocations: 76.31 kB / 0.741 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1812, allocations: 0 / 0.741 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001863/0.1814, allocations: 7.938 kB / 0.741 GB, free: 14.55 MB / 0.5606 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.0001798/0.1815, allocations: 107.2 kB / 0.7411 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.497e-05/0.1816, allocations: 11.94 kB / 0.7411 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1816, allocations: 0 / 0.7411 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.662e-06/0.1816, allocations: 64 / 0.7411 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.1818, allocations: 14.34 kB / 0.7411 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001804/0.182, allocations: 102.7 kB / 0.7412 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.1823, allocations: 0.669 MB / 0.7418 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.054e-05/0.1823, allocations: 11.44 kB / 0.7419 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.1823, allocations: 0 / 0.7419 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of Templates: time 0.001952/0.1843, allocations: 439.7 kB / 0.7423 GB, free: 13.14 MB / 0.5606 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: 7.780059324810281] Failed to read output from testmodel.py, exit status != 0: 0.19106157985515893 0.20476117499999996 0.024005651000000003 Calling exit ...