Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.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.001293/0.001293, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001288/0.001288, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.4/1.4, allocations: 225.6 MB / 248.5 MB, free: 3.621 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.06/1.06, allocations: 175.7 MB / 479.1 MB, free: 3.398 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.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 70.23 kB / 0.6664 GB, free: 11.01 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1868, allocations: 94.54 MB / 0.7587 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001682/0.1885, allocations: 0.5807 MB / 0.7593 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002434/0.1887, allocations: 47.8 kB / 0.7593 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.557e-05/0.1887, allocations: 0 / 0.7593 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.1887, allocations: 0 / 0.7593 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.701e-06/0.1888, allocations: 0 / 0.7593 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.189, allocations: 15.92 kB / 0.7593 GB, free: 500 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.264e-05/0.189, allocations: 7.938 kB / 0.7594 GB, free: 492 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.002e-05/0.1891, allocations: 7.984 kB / 0.7594 GB, free: 484 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.23e-05/0.1891, allocations: 4 kB / 0.7594 GB, free: 480 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.136e-05/0.1891, allocations: 3.984 kB / 0.7594 GB, free: 476 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.686e-06/0.1891, allocations: 0 / 0.7594 GB, free: 476 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.361e-05/0.1892, allocations: 19.98 kB / 0.7594 GB, free: 456 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.676e-06/0.1892, allocations: 0 / 0.7594 GB, free: 456 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.377e-05/0.1892, allocations: 0 / 0.7594 GB, free: 456 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.575e-05/0.1893, allocations: 19.92 kB / 0.7594 GB, free: 436 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1893, allocations: 0 / 0.7594 GB, free: 436 kB / 0.5606 GB Notification: Performance of FrontEnd: time 9.32e-07/0.1893, allocations: 3.938 kB / 0.7594 GB, free: 432 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.1893, allocations: 0 / 0.7594 GB, free: 432 kB / 0.5606 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.0003143/0.1896, allocations: 315.6 kB / 0.7597 GB, free: 64 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.1897, allocations: 8.031 kB / 0.7597 GB, free: 56 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002405/0.1899, allocations: 16.91 kB / 0.7597 GB, free: 40 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.19, allocations: 168.4 kB / 0.7599 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.19, allocations: 384 / 0.7599 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.1901, allocations: 384 / 0.7599 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.1902, allocations: 46.17 kB / 0.7599 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1902, allocations: 4.172 kB / 0.7599 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.1902, allocations: 7.938 kB / 0.76 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.1902, allocations: 0 / 0.76 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.07e-05/0.1903, allocations: 11.98 kB / 0.76 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001483/0.1905, allocations: 145.7 kB / 0.7601 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.58e-05/0.1906, allocations: 22.59 kB / 0.7601 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.1906, allocations: 12.92 kB / 0.7601 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.1906, allocations: 4 kB / 0.7601 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.1907, allocations: 34.91 kB / 0.7602 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.1907, allocations: 0 / 0.7602 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0002429/0.1909, allocations: 49.61 kB / 0.7602 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.1909, allocations: 51.41 kB / 0.7603 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.731e-05/0.191, allocations: 89.86 kB / 0.7604 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.191, allocations: 29.83 kB / 0.7604 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.191, allocations: 80.14 kB / 0.7605 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.1911, allocations: 3.953 kB / 0.7605 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.1911, allocations: 21.7 kB / 0.7605 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1912, allocations: 310.8 kB / 0.7608 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.974e-05/0.1913, allocations: 4 kB / 0.7608 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.139e-05/0.1913, allocations: 7.984 kB / 0.7608 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.394e-05/0.1914, allocations: 20.84 kB / 0.7608 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1914, allocations: 0 / 0.7608 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001293/0.1916, allocations: 45.69 kB / 0.7609 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1916, allocations: 7.938 kB / 0.7609 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1916, allocations: 0 / 0.7609 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1916, allocations: 3.938 kB / 0.7609 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.685e-05/0.1917, allocations: 7.938 kB / 0.7609 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.1917, allocations: 4.031 kB / 0.7609 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.523e-05/0.1917, allocations: 3.984 kB / 0.7609 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1917, allocations: 4 kB / 0.7609 GB, free: 14.68 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.812e-05/0.1918, allocations: 109.8 kB / 0.761 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/0.1918, allocations: 0 / 0.761 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.1918, allocations: 7.062 kB / 0.761 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1918, allocations: 0 / 0.761 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1918, allocations: 0 / 0.761 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1918, allocations: 8 kB / 0.761 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.94e-05/0.1919, allocations: 145.7 kB / 0.7611 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1919, allocations: 3.938 kB / 0.7611 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.153e-05/0.192, allocations: 4 kB / 0.7612 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.192, allocations: 0 / 0.7612 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.192, allocations: 7.922 kB / 0.7612 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.192, allocations: 0 / 0.7612 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.192, allocations: 0 / 0.7612 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.1921, allocations: 69.12 kB / 0.7612 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.1922, allocations: 81.11 kB / 0.7613 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.1922, allocations: 3.938 kB / 0.7613 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.543e-05/0.1922, allocations: 7.984 kB / 0.7613 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.001e-05/0.1922, allocations: 0 / 0.7613 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.1922, allocations: 4 kB / 0.7613 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.448e-05/0.1923, allocations: 75.28 kB / 0.7614 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.1923, allocations: 0 / 0.7614 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001717/0.1924, allocations: 4.031 kB / 0.7614 GB, free: 14.07 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.0001182/0.1926, allocations: 99.25 kB / 0.7615 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.1927, allocations: 15.92 kB / 0.7615 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1927, allocations: 0 / 0.7615 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.582e-05/0.1928, allocations: 7.984 kB / 0.7615 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.1929, allocations: 4 kB / 0.7615 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002534/0.1931, allocations: 110.9 kB / 0.7616 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.1934, allocations: 0.669 MB / 0.7623 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.1934, allocations: 11.44 kB / 0.7623 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.1934, allocations: 0 / 0.7623 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of Templates: time 0.001692/0.1951, allocations: 393.6 kB / 0.7627 GB, free: 12.7 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.812270881142467] Failed to read output from testmodel.py, exit status != 0: 0.20245568198151886 0.21546254 0.023504422 Calling exit ...