Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 219 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9268/0.9268, allocations: 134 MB / 447.2 MB, free: 10.23 MB / 350.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/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 66.55 kB / 0.6198 GB, free: 6.711 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.171, allocations: 85.91 MB / 0.7037 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.003883/0.1748, allocations: 1.853 MB / 0.7055 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.1761, allocations: 0.5883 MB / 0.7061 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.1763, allocations: 7.938 kB / 0.7061 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.1764, allocations: 23.73 kB / 0.7061 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.1766, allocations: 27.72 kB / 0.7061 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.1768, allocations: 71.84 kB / 0.7062 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003504/0.1772, allocations: 171.5 kB / 0.7063 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.1774, allocations: 41.67 kB / 0.7064 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.1775, allocations: 59.72 kB / 0.7064 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.1776, allocations: 63.69 kB / 0.7065 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.1776, allocations: 8 kB / 0.7065 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.342e-05/0.1777, allocations: 12 kB / 0.7065 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.1778, allocations: 27.86 kB / 0.7065 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.399e-05/0.1779, allocations: 71.53 kB / 0.7066 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.1781, allocations: 127.4 kB / 0.7067 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1781, allocations: 4 kB / 0.7067 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1781, allocations: 0 / 0.7067 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.1781, allocations: 3.938 kB / 0.7067 GB, free: 13.71 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008477/0.179, allocations: 431.1 kB / 0.7072 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.179, allocations: 12.03 kB / 0.7072 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.375e-05/0.1791, allocations: 16.84 kB / 0.7072 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.1794, allocations: 178.2 kB / 0.7074 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.1794, allocations: 8.375 kB / 0.7074 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.1795, allocations: 16.33 kB / 0.7074 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.1799, allocations: 150.2 kB / 0.7075 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1799, allocations: 4 kB / 0.7075 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.1799, allocations: 4 kB / 0.7075 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1799, allocations: 8 kB / 0.7075 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002413/0.1802, allocations: 67.89 kB / 0.7076 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.1812, allocations: 0.7112 MB / 0.7083 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.1814, allocations: 46.5 kB / 0.7083 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.1815, allocations: 32.83 kB / 0.7084 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.1815, allocations: 8 kB / 0.7084 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002522/0.1818, allocations: 114.7 kB / 0.7085 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.1818, allocations: 0 / 0.7085 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0005135/0.1823, allocations: 173.6 kB / 0.7087 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.294e-05/0.1824, allocations: 132.5 kB / 0.7088 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.1826, allocations: 199.2 kB / 0.709 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.1826, allocations: 25.7 kB / 0.709 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.1827, allocations: 135.9 kB / 0.7091 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.1828, allocations: 35.73 kB / 0.7092 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.475e-05/0.1828, allocations: 41.66 kB / 0.7092 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.183, allocations: 330.9 kB / 0.7095 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.1831, allocations: 39.97 kB / 0.7096 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.1834, allocations: 154.4 kB / 0.7097 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/0.1838, allocations: 202.3 kB / 0.7099 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1838, allocations: 0 / 0.7099 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004261/0.1842, allocations: 201.2 kB / 0.7101 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.1842, allocations: 7.984 kB / 0.7101 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.1842, allocations: 4 kB / 0.7101 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1842, allocations: 11.94 kB / 0.7101 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.1844, allocations: 36.66 kB / 0.7101 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.1844, allocations: 11.94 kB / 0.7102 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.1845, allocations: 23.88 kB / 0.7102 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.1846, allocations: 12 kB / 0.7102 GB, free: 9.832 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001426/0.1847, allocations: 148.7 kB / 0.7103 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.1847, allocations: 19.86 kB / 0.7103 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.687e-05/0.1848, allocations: 21.39 kB / 0.7104 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.341e-06/0.1848, allocations: 4 kB / 0.7104 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1848, allocations: 0 / 0.7104 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1848, allocations: 4 kB / 0.7104 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008228/0.1856, allocations: 488.7 kB / 0.7108 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.1856, allocations: 3.984 kB / 0.7108 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.1857, allocations: 23.92 kB / 0.7109 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1857, allocations: 0 / 0.7109 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.1858, allocations: 8.312 kB / 0.7109 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1858, allocations: 0 / 0.7109 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.1858, allocations: 7.938 kB / 0.7109 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/0.1863, allocations: 364.2 kB / 0.7112 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.1864, allocations: 19.84 kB / 0.7113 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.1864, allocations: 4 kB / 0.7113 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.1866, allocations: 8.031 kB / 0.7113 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.1866, allocations: 23.91 kB / 0.7113 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.1866, allocations: 4 kB / 0.7113 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001426/0.1868, allocations: 148.2 kB / 0.7114 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1868, allocations: 0 / 0.7114 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003427/0.1871, allocations: 35.95 kB / 0.7115 GB, free: 8.445 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001998/0.1873, allocations: 99.23 kB / 0.7116 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003405/0.1877, allocations: 108.4 kB / 0.7117 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.1877, allocations: 4.312 kB / 0.7117 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.1878, allocations: 51.91 kB / 0.7117 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005673/0.1884, allocations: 66.45 kB / 0.7118 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007288/0.1891, allocations: 386.4 kB / 0.7121 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.1896, allocations: 0.7319 MB / 0.7129 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.174e-05/0.1896, allocations: 15.44 kB / 0.7129 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.1896, allocations: 0 / 0.7129 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of Templates: time 0.004824/0.1944, allocations: 2.143 MB / 0.715 GB, free: 4.793 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.210804316913709] Failed to read output from testmodel.py, exit status != 0: 0.2027127230539918 0.220401795 0.038741134 Calling exit ...