Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 196.8 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9384/0.9384, allocations: 135.1 MB / 425.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 68.66 kB / 0.5047 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1693, allocations: 80.92 MB / 0.5837 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002937/0.1723, allocations: 1.868 MB / 0.5855 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007894/0.1731, allocations: 0.5221 MB / 0.586 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.52e-05/0.1732, allocations: 11.88 kB / 0.5861 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.1733, allocations: 11.86 kB / 0.5861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.057e-05/0.1734, allocations: 27.8 kB / 0.5861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.1736, allocations: 59.94 kB / 0.5861 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.1738, allocations: 163.4 kB / 0.5863 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.174, allocations: 53.62 kB / 0.5864 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.141e-05/0.1741, allocations: 55.72 kB / 0.5864 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.289e-05/0.1742, allocations: 59.64 kB / 0.5865 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.1742, allocations: 8 kB / 0.5865 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.053e-05/0.1742, allocations: 4 kB / 0.5865 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.377e-05/0.1743, allocations: 19.92 kB / 0.5865 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.056e-05/0.1744, allocations: 59.59 kB / 0.5866 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.1745, allocations: 119.8 kB / 0.5867 GB, free: 1.957 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1745, allocations: 0 / 0.5867 GB, free: 1.957 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1745, allocations: 0 / 0.5867 GB, free: 1.957 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.1745, allocations: 0 / 0.5867 GB, free: 1.957 MB / 494.1 MB 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.000738/0.1753, allocations: 486.7 kB / 0.5871 GB, free: 1.434 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1753, allocations: 12.02 kB / 0.5871 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.1754, allocations: 20.75 kB / 0.5872 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.1756, allocations: 227.9 kB / 0.5874 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.1756, allocations: 12.36 kB / 0.5874 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.1757, allocations: 12.38 kB / 0.5874 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.176, allocations: 160.2 kB / 0.5876 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.176, allocations: 0 / 0.5876 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.176, allocations: 4 kB / 0.5876 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.176, allocations: 0 / 0.5876 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.1763, allocations: 75.88 kB / 0.5876 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008886/0.1772, allocations: 0.7391 MB / 0.5884 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.1773, allocations: 54.59 kB / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1774, allocations: 32.72 kB / 0.5884 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.1775, allocations: 4 kB / 0.5884 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002633/0.1777, allocations: 126.9 kB / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.1778, allocations: 0 / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0004598/0.1782, allocations: 165.3 kB / 0.5887 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.516e-05/0.1783, allocations: 132.5 kB / 0.5888 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.1785, allocations: 199.2 kB / 0.589 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1785, allocations: 33.7 kB / 0.5891 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.1786, allocations: 131.9 kB / 0.5892 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.1786, allocations: 39.45 kB / 0.5892 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.1787, allocations: 33.72 kB / 0.5893 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1788, allocations: 334.8 kB / 0.5896 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.179, allocations: 39.91 kB / 0.5896 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.1791, allocations: 147.9 kB / 0.5898 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/0.1794, allocations: 206.3 kB / 0.59 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1794, allocations: 0 / 0.59 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000364/0.1798, allocations: 205.5 kB / 0.5902 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1798, allocations: 4 kB / 0.5902 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1798, allocations: 4 kB / 0.5902 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1799, allocations: 8 kB / 0.5902 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.18, allocations: 35.91 kB / 0.5902 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.18, allocations: 7.938 kB / 0.5902 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.1801, allocations: 27.83 kB / 0.5902 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.1802, allocations: 8 kB / 0.5902 GB, free: 13.9 MB / 0.4981 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.0001071/0.1803, allocations: 141.8 kB / 0.5904 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.1803, allocations: 23.97 kB / 0.5904 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.971e-05/0.1804, allocations: 17.41 kB / 0.5904 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1804, allocations: 7.984 kB / 0.5904 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1804, allocations: 0 / 0.5904 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1804, allocations: 0 / 0.5904 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006807/0.1811, allocations: 0.5209 MB / 0.5909 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1811, allocations: 0 / 0.5909 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.1812, allocations: 15.98 kB / 0.5909 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1812, allocations: 0 / 0.5909 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.1812, allocations: 11.92 kB / 0.591 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1812, allocations: 320 / 0.591 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.1812, allocations: 3.938 kB / 0.591 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004544/0.1817, allocations: 364.2 kB / 0.5913 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.1818, allocations: 88.92 kB / 0.5914 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.1818, allocations: 4 kB / 0.5914 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.182, allocations: 23.91 kB / 0.5914 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.1821, allocations: 19.91 kB / 0.5914 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.1821, allocations: 4 kB / 0.5914 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001002/0.1822, allocations: 140.6 kB / 0.5916 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1822, allocations: 0 / 0.5916 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003192/0.1825, allocations: 28 kB / 0.5916 GB, free: 12.39 MB / 0.4981 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.0002084/0.1827, allocations: 107.2 kB / 0.5917 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003273/0.1831, allocations: 115.7 kB / 0.5918 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1831, allocations: 0 / 0.5918 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.1832, allocations: 45.05 kB / 0.5919 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005597/0.1838, allocations: 74 kB / 0.5919 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006138/0.1844, allocations: 382.3 kB / 0.5923 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.1847, allocations: 0.7245 MB / 0.593 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.31e-05/0.1848, allocations: 25.8 kB / 0.593 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.076e-05/0.1849, allocations: 15.44 kB / 0.593 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.1849, allocations: 0 / 0.593 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of Templates: time 0.004515/0.1894, allocations: 1.814 MB / 0.5948 GB, free: 9.062 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)