Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.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.001326/0.001326, allocations: 82.02 kB / 19.76 MB, free: 2.031 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.00144/0.00144, allocations: 159.3 kB / 23.01 MB, free: 4.945 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.417/1.417, allocations: 177.2 MB / 203.4 MB, free: 8.934 MB / 190.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.8659/0.8659, allocations: 101.3 MB / 361.1 MB, free: 9.543 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor") [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.002138/0.002138, allocations: 66.44 kB / 0.5356 GB, free: 5.266 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.17, allocations: 85.87 MB / 0.6195 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003645/0.1737, allocations: 1.933 MB / 0.6214 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.175, allocations: 0.7051 MB / 0.622 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1751, allocations: 4 kB / 0.6221 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.1753, allocations: 87.62 kB / 0.6221 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.1755, allocations: 95.56 kB / 0.6222 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005658/0.1761, allocations: 182.9 kB / 0.6224 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003323/0.1764, allocations: 263.4 kB / 0.6227 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.1765, allocations: 49.92 kB / 0.6227 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.1767, allocations: 111.7 kB / 0.6228 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.1769, allocations: 159.4 kB / 0.623 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/0.177, allocations: 20 kB / 0.623 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.1771, allocations: 91.94 kB / 0.6231 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.1772, allocations: 55.83 kB / 0.6231 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.1773, allocations: 79.48 kB / 0.6232 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004221/0.1778, allocations: 318.8 kB / 0.6235 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1778, allocations: 0 / 0.6235 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1778, allocations: 4 kB / 0.6235 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.1778, allocations: 0 / 0.6235 GB, free: 13.46 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008988/0.1787, allocations: 0.5102 MB / 0.624 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.1787, allocations: 8.031 kB / 0.624 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.1788, allocations: 32.75 kB / 0.624 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005252/0.1793, allocations: 249.6 kB / 0.6243 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.1793, allocations: 16.12 kB / 0.6243 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.1794, allocations: 15.94 kB / 0.6243 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/0.1798, allocations: 300.2 kB / 0.6246 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1798, allocations: 4 kB / 0.6246 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.1799, allocations: 4 kB / 0.6246 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.1799, allocations: 7.984 kB / 0.6246 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.1802, allocations: 166 kB / 0.6248 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000856/0.181, allocations: 0.579 MB / 0.6253 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/0.1814, allocations: 188.2 kB / 0.6255 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.1816, allocations: 114.7 kB / 0.6256 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.1816, allocations: 4 kB / 0.6256 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003265/0.1819, allocations: 210.8 kB / 0.6258 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.182, allocations: 0 / 0.6258 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0008145/0.1828, allocations: 438.4 kB / 0.6262 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.753e-05/0.1829, allocations: 136.5 kB / 0.6264 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.1832, allocations: 257.9 kB / 0.6266 GB, free: 10 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.1832, allocations: 37.69 kB / 0.6267 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.1833, allocations: 160.4 kB / 0.6268 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.1834, allocations: 43.62 kB / 0.6269 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-05/0.1835, allocations: 45.66 kB / 0.6269 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.1836, allocations: 342.8 kB / 0.6272 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.1839, allocations: 121.6 kB / 0.6273 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.1841, allocations: 206.2 kB / 0.6275 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003879/0.1845, allocations: 249.3 kB / 0.6278 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1845, allocations: 4.031 kB / 0.6278 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000575/0.1851, allocations: 372.7 kB / 0.6281 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.1851, allocations: 40.2 kB / 0.6282 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1852, allocations: 4 kB / 0.6282 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1852, allocations: 0 / 0.6282 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.1853, allocations: 27.92 kB / 0.6282 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1853, allocations: 3.984 kB / 0.6282 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.1855, allocations: 28.03 kB / 0.6282 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.1855, allocations: 7.938 kB / 0.6282 GB, free: 8.23 MB / 0.5294 GB 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.0002005/0.1857, allocations: 187.5 kB / 0.6284 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.1857, allocations: 31.78 kB / 0.6284 GB, free: 8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.622e-05/0.1858, allocations: 25.78 kB / 0.6285 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1858, allocations: 4 kB / 0.6285 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1858, allocations: 0 / 0.6285 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1858, allocations: 3.984 kB / 0.6285 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.186, allocations: 201.3 kB / 0.6287 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.186, allocations: 7.938 kB / 0.6287 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.1861, allocations: 19.92 kB / 0.6287 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1861, allocations: 0 / 0.6287 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.1861, allocations: 8 kB / 0.6287 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1861, allocations: 0 / 0.6287 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1861, allocations: 0 / 0.6287 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009759/0.1871, allocations: 0.5316 MB / 0.6292 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.1872, allocations: 15.89 kB / 0.6292 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.1872, allocations: 12.06 kB / 0.6293 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.1873, allocations: 15.98 kB / 0.6293 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.153e-05/0.1874, allocations: 23.95 kB / 0.6293 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/0.1874, allocations: 12 kB / 0.6293 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002137/0.1876, allocations: 193.2 kB / 0.6295 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1876, allocations: 0 / 0.6295 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003011/0.1879, allocations: 55.94 kB / 0.6295 GB, free: 6.816 MB / 0.5294 GB 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.0002095/0.1882, allocations: 139.1 kB / 0.6297 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005575/0.1887, allocations: 326.6 kB / 0.63 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1887, allocations: 0 / 0.63 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002632/0.189, allocations: 189 kB / 0.6302 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.1893, allocations: 28.48 kB / 0.6302 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008948/0.1902, allocations: 486 kB / 0.6307 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.1903, allocations: 141.3 kB / 0.6308 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.76e-05/0.1904, allocations: 21.47 kB / 0.6308 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.345e-05/0.1905, allocations: 24.42 kB / 0.6308 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.1905, allocations: 0 / 0.6308 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of Templates: time 0.007499/0.198, allocations: 2.882 MB / 0.6336 GB, free: 2.566 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.522117318934761] Failed to read output from testmodel.py, exit status != 0: 0.20573219598736614 0.22104483200000002 0.040146263 Calling exit ...