Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.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.001614/0.001614, allocations: 102.3 kB / 16.4 MB, free: 6.508 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.00145/0.00145, allocations: 198.7 kB / 19.35 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.1 MB / 227.2 MB, free: 12.13 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2918/0.2918, allocations: 54.95 MB / 331.6 MB, free: 2.828 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Annex60.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 70.72 kB / 464.9 MB, free: 380 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1712, allocations: 59.6 MB / 0.5122 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003719/0.175, allocations: 1.938 MB / 0.5141 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.1766, allocations: 0.7564 MB / 0.5148 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.1767, allocations: 0 / 0.5148 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.1771, allocations: 91.59 kB / 0.5149 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.1772, allocations: 87.56 kB / 0.515 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006712/0.1779, allocations: 179.7 kB / 0.5152 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003607/0.1783, allocations: 271.4 kB / 0.5154 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.1785, allocations: 69.88 kB / 0.5155 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.1787, allocations: 111.7 kB / 0.5156 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.1789, allocations: 147.5 kB / 0.5158 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.191e-05/0.179, allocations: 20 kB / 0.5158 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.1792, allocations: 99.86 kB / 0.5159 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.1793, allocations: 63.81 kB / 0.5159 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.1795, allocations: 111.3 kB / 0.516 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005168/0.18, allocations: 306.8 kB / 0.5163 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.18, allocations: 0 / 0.5163 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.18, allocations: 0 / 0.5163 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.18, allocations: 0 / 0.5163 GB, free: 0.5742 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00123/0.1813, allocations: 0.5988 MB / 0.5169 GB, free: 15.92 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.1813, allocations: 8.031 kB / 0.5169 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.479e-05/0.1814, allocations: 32.75 kB / 0.517 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006824/0.1821, allocations: 303 kB / 0.5172 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/0.1822, allocations: 12.38 kB / 0.5173 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.1822, allocations: 12.38 kB / 0.5173 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004638/0.1827, allocations: 238.2 kB / 0.5175 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1827, allocations: 0 / 0.5175 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.1827, allocations: 8 kB / 0.5175 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.443e-06/0.1827, allocations: 0 / 0.5175 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.183, allocations: 132.3 kB / 0.5176 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.1841, allocations: 0.6848 MB / 0.5183 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/0.1845, allocations: 170.5 kB / 0.5185 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.1847, allocations: 96.95 kB / 0.5185 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.1848, allocations: 4 kB / 0.5186 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003297/0.1851, allocations: 173 kB / 0.5187 GB, free: 13.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 2.074e-06/0.1851, allocations: 0 / 0.5187 GB, free: 13.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007647/0.1859, allocations: 382.4 kB / 0.5191 GB, free: 13.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.186, allocations: 140.4 kB / 0.5192 GB, free: 13.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.1863, allocations: 278.7 kB / 0.5195 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.1863, allocations: 33.7 kB / 0.5195 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.1865, allocations: 152.4 kB / 0.5197 GB, free: 12.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.1865, allocations: 43.64 kB / 0.5197 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.171e-05/0.1866, allocations: 41.8 kB / 0.5197 GB, free: 12.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1868, allocations: 346.8 kB / 0.5201 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.187, allocations: 87.89 kB / 0.5202 GB, free: 12.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.1872, allocations: 133 kB / 0.5203 GB, free: 12.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.1876, allocations: 238.8 kB / 0.5205 GB, free: 11.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1876, allocations: 0 / 0.5205 GB, free: 11.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005597/0.1881, allocations: 341.7 kB / 0.5208 GB, free: 11.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.708e-05/0.1882, allocations: 41.69 kB / 0.5209 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1882, allocations: 4.094 kB / 0.5209 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1882, allocations: 3.938 kB / 0.5209 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.1884, allocations: 23.98 kB / 0.5209 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.1884, allocations: 3.938 kB / 0.5209 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.1885, allocations: 31.83 kB / 0.5209 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.1885, allocations: 4 kB / 0.5209 GB, free: 11.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$whenCondition1,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0002085/0.1888, allocations: 188 kB / 0.5211 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.1888, allocations: 31.84 kB / 0.5212 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.846e-05/0.1889, allocations: 33.78 kB / 0.5212 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.1889, allocations: 0 / 0.5212 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.1889, allocations: 3.984 kB / 0.5212 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1889, allocations: 0 / 0.5212 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.1892, allocations: 289.4 kB / 0.5215 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1893, allocations: 3.984 kB / 0.5215 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.1894, allocations: 15.94 kB / 0.5215 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/0.1894, allocations: 4 kB / 0.5215 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.1894, allocations: 11.92 kB / 0.5215 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.1894, allocations: 8 kB / 0.5215 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1894, allocations: 0 / 0.5215 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008111/0.1902, allocations: 450.5 kB / 0.5219 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.879e-05/0.1903, allocations: 108.9 kB / 0.522 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.817e-05/0.1904, allocations: 11.94 kB / 0.5221 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1905, allocations: 12.05 kB / 0.5221 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.516e-05/0.1906, allocations: 31.91 kB / 0.5221 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.1906, allocations: 7.938 kB / 0.5221 GB, free: 10.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002212/0.1909, allocations: 205.9 kB / 0.5223 GB, free: 10.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1909, allocations: 0 / 0.5223 GB, free: 10.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003103/0.1912, allocations: 59.89 kB / 0.5224 GB, free: 9.957 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0002659/0.1915, allocations: 131.2 kB / 0.5225 GB, free: 9.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005615/0.1921, allocations: 291.2 kB / 0.5228 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1921, allocations: 0 / 0.5228 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000272/0.1923, allocations: 191.3 kB / 0.5229 GB, free: 9.324 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.1927, allocations: 36.53 kB / 0.523 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.1937, allocations: 484.8 kB / 0.5234 GB, free: 8.785 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.1941, allocations: 0.7553 MB / 0.5242 GB, free: 8.004 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.469e-05/0.1942, allocations: 17.55 kB / 0.5242 GB, free: 7.988 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.1943, allocations: 15.44 kB / 0.5242 GB, free: 7.973 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1943, allocations: 4 kB / 0.5242 GB, free: 7.969 MB / 414.1 MB Notification: Performance of Templates: time 0.007567/0.2019, allocations: 2.838 MB / 0.527 GB, free: 5.152 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.749454445205629]