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.0015/0.0015, allocations: 118.4 kB / 17.13 MB, free: 5.938 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.001506/0.001506, allocations: 197.2 kB / 20.08 MB, free: 3.004 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.419/1.419, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.089/1.089, allocations: 175.7 MB / 479.1 MB, free: 3.453 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.002069/0.002069, allocations: 70.19 kB / 0.6664 GB, free: 10.85 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1698, allocations: 94.54 MB / 0.7587 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001744/0.1716, allocations: 0.5911 MB / 0.7593 GB, free: 472 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.1732, allocations: 1.254 MB / 0.7605 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.582e-05/0.1732, allocations: 0 / 0.7605 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.1732, allocations: 0 / 0.7605 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.959e-06/0.1732, allocations: 7.875 kB / 0.7605 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.1736, allocations: 67.8 kB / 0.7606 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.75e-05/0.1736, allocations: 3.938 kB / 0.7606 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.1737, allocations: 11.94 kB / 0.7606 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.177e-05/0.1737, allocations: 0 / 0.7606 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.552e-05/0.1737, allocations: 0 / 0.7606 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.364e-06/0.1737, allocations: 0 / 0.7606 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002329/0.174, allocations: 99.88 kB / 0.7607 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.174, allocations: 4 kB / 0.7607 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.369e-05/0.174, allocations: 0 / 0.7607 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.1741, allocations: 51.88 kB / 0.7608 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1741, allocations: 4 kB / 0.7608 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1741, allocations: 0 / 0.7608 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5e-06/0.1741, allocations: 0 / 0.7608 GB, free: 14.95 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.0003311/0.1745, allocations: 327.4 kB / 0.7611 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1745, allocations: 12.03 kB / 0.7611 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.1745, allocations: 0.9375 kB / 0.7611 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.1746, allocations: 160.4 kB / 0.7612 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1747, allocations: 384 / 0.7612 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-06/0.1747, allocations: 384 / 0.7612 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.106e-05/0.1747, allocations: 37.95 kB / 0.7613 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1748, allocations: 3.938 kB / 0.7613 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1748, allocations: 3.984 kB / 0.7613 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1748, allocations: 4 kB / 0.7613 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.92e-05/0.1748, allocations: 4 kB / 0.7613 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.1749, allocations: 145.7 kB / 0.7614 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.011e-05/0.175, allocations: 14.58 kB / 0.7614 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.599e-05/0.175, allocations: 4.859 kB / 0.7614 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005808/0.1756, allocations: 0.5701 MB / 0.762 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.1756, allocations: 38.44 kB / 0.762 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1756, allocations: 0 / 0.762 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001275/0.1757, allocations: 29.7 kB / 0.7621 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.1758, allocations: 55.39 kB / 0.7621 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.498e-05/0.1758, allocations: 93.86 kB / 0.7622 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1758, allocations: 25.7 kB / 0.7622 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.1759, allocations: 88.27 kB / 0.7623 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.1759, allocations: 3.953 kB / 0.7623 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.1759, allocations: 9.719 kB / 0.7623 GB, free: 13 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1761, allocations: 310.8 kB / 0.7626 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.074e-05/0.1761, allocations: 4 kB / 0.7626 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.74e-06/0.1761, allocations: 0 / 0.7626 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.976e-05/0.1761, allocations: 16.8 kB / 0.7626 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1761, allocations: 4 kB / 0.7626 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.086e-05/0.1762, allocations: 37.69 kB / 0.7627 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1762, allocations: 7.938 kB / 0.7627 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1762, allocations: 4 kB / 0.7627 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1762, allocations: 0 / 0.7627 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.942e-05/0.1762, allocations: 4 kB / 0.7627 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.1762, allocations: 0 / 0.7627 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.044e-05/0.1762, allocations: 0 / 0.7627 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1762, allocations: 4 kB / 0.7627 GB, free: 12.6 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 7.336e-05/0.1763, allocations: 109.9 kB / 0.7628 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.1763, allocations: 3.938 kB / 0.7628 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.642e-05/0.1764, allocations: 44.75 kB / 0.7629 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1764, allocations: 0 / 0.7629 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1764, allocations: 4 kB / 0.7629 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.1764, allocations: 0 / 0.7629 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.1765, allocations: 145.6 kB / 0.763 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1765, allocations: 3.984 kB / 0.763 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.498e-05/0.1765, allocations: 4.031 kB / 0.763 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1765, allocations: 7.938 kB / 0.763 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.1765, allocations: 0 / 0.763 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1765, allocations: 0 / 0.763 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1765, allocations: 0 / 0.763 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.16e-05/0.1766, allocations: 65.06 kB / 0.7631 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.1767, allocations: 81.09 kB / 0.7632 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.1767, allocations: 3.938 kB / 0.7632 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.267e-06/0.1767, allocations: 4.031 kB / 0.7632 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-06/0.1767, allocations: 0 / 0.7632 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.1767, allocations: 0 / 0.7632 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.251e-05/0.1767, allocations: 79.28 kB / 0.7632 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1767, allocations: 0 / 0.7632 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001888/0.1769, allocations: 7.938 kB / 0.7632 GB, free: 11.94 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.000162/0.1771, allocations: 107.2 kB / 0.7633 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.384e-05/0.1771, allocations: 4 kB / 0.7633 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1771, allocations: 8.062 kB / 0.7634 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.526e-06/0.1771, allocations: 4 kB / 0.7634 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001161/0.1773, allocations: 3.938 kB / 0.7634 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001774/0.1774, allocations: 105.4 kB / 0.7635 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.1777, allocations: 0.6767 MB / 0.7641 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.338e-05/0.1777, allocations: 7.438 kB / 0.7641 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.1777, allocations: 0 / 0.7641 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of Templates: time 0.001888/0.1796, allocations: 439.8 kB / 0.7646 GB, free: 10.53 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: 7.794615331105888] Failed to read output from testmodel.py, exit status != 0: 0.18654352403245866 0.199373252 0.022539162 Calling exit ...