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.00176/0.00176, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002221/0.002221, allocations: 173.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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.565/1.565, allocations: 177.1 MB / 203.1 MB, free: 5.555 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 1.338/1.338, allocations: 154.6 MB / 414.1 MB, free: 0.6445 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 0.5196 GB, free: 1.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.301e-05/3.546e-05, allocations: 4.141 kB / 0.5196 GB, free: 1.477 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.004255/0.00429, allocations: 1.944 MB / 0.5215 GB, free: 15.55 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.005996, allocations: 0.7147 MB / 0.5222 GB, free: 14.83 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.006127, allocations: 4 kB / 0.5222 GB, free: 14.82 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.006392, allocations: 89.11 kB / 0.5223 GB, free: 14.74 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.006555, allocations: 92.72 kB / 0.5224 GB, free: 14.65 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006328/0.007188, allocations: 189.6 kB / 0.5226 GB, free: 14.46 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000358/0.007546, allocations: 255.4 kB / 0.5228 GB, free: 14.21 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.007705, allocations: 54.58 kB / 0.5229 GB, free: 14.16 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.007953, allocations: 156.5 kB / 0.523 GB, free: 14.01 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.00819, allocations: 140.9 kB / 0.5231 GB, free: 13.87 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.635e-05/0.008236, allocations: 20 kB / 0.5232 GB, free: 13.85 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.008409, allocations: 91.92 kB / 0.5232 GB, free: 13.76 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.476e-05/0.008504, allocations: 56.73 kB / 0.5233 GB, free: 13.71 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 9.988e-05/0.008604, allocations: 63.78 kB / 0.5234 GB, free: 13.64 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005143/0.009118, allocations: 334.9 kB / 0.5237 GB, free: 13.32 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.009122, allocations: 1.031 kB / 0.5237 GB, free: 13.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.009123, allocations: 0 / 0.5237 GB, free: 13.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.00913, allocations: 0 / 0.5237 GB, free: 13.32 MB / 458.7 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.001079/0.01021, allocations: 0.6229 MB / 0.5243 GB, free: 12.65 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.01025, allocations: 12.78 kB / 0.5243 GB, free: 12.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.01036, allocations: 36.8 kB / 0.5243 GB, free: 12.61 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005102/0.01087, allocations: 247.4 kB / 0.5246 GB, free: 12.34 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.01089, allocations: 12.38 kB / 0.5246 GB, free: 12.33 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.01094, allocations: 20.36 kB / 0.5246 GB, free: 12.31 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004656/0.0114, allocations: 295 kB / 0.5249 GB, free: 11.97 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.01141, allocations: 192 / 0.5249 GB, free: 11.97 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.01144, allocations: 12.12 kB / 0.5249 GB, free: 11.96 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.01144, allocations: 1.219 kB / 0.5249 GB, free: 11.96 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002638/0.01171, allocations: 126.1 kB / 0.525 GB, free: 11.83 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.01282, allocations: 0.7883 MB / 0.5258 GB, free: 11 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.01319, allocations: 153.8 kB / 0.5259 GB, free: 10.83 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.01335, allocations: 90.75 kB / 0.526 GB, free: 10.73 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.01337, allocations: 7.984 kB / 0.526 GB, free: 10.73 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003143/0.01369, allocations: 176.4 kB / 0.5262 GB, free: 10.53 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.01369, allocations: 0.5312 kB / 0.5262 GB, free: 10.53 MB / 458.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006962/0.01439, allocations: 325.4 kB / 0.5265 GB, free: 10.19 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.01449, allocations: 136.5 kB / 0.5266 GB, free: 10.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/0.01489, allocations: 354.1 kB / 0.527 GB, free: 9.668 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/0.01493, allocations: 33.7 kB / 0.527 GB, free: 9.629 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.01511, allocations: 215.1 kB / 0.5272 GB, free: 9.414 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.589e-05/0.01517, allocations: 51.62 kB / 0.5273 GB, free: 9.363 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.01527, allocations: 55.36 kB / 0.5273 GB, free: 9.301 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003095/0.01558, allocations: 0.5245 MB / 0.5278 GB, free: 8.766 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.01576, allocations: 85.67 kB / 0.5279 GB, free: 8.676 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004984/0.01625, allocations: 202.5 kB / 0.5281 GB, free: 8.438 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003154/0.01657, allocations: 200.8 kB / 0.5283 GB, free: 8.215 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.01657, allocations: 0 / 0.5283 GB, free: 8.215 MB / 458.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005267/0.0171, allocations: 299.1 kB / 0.5286 GB, free: 7.906 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.589e-05/0.01715, allocations: 41.69 kB / 0.5286 GB, free: 7.859 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.01716, allocations: 6.562 kB / 0.5286 GB, free: 7.855 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.01718, allocations: 0 / 0.5286 GB, free: 7.855 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.0173, allocations: 16 kB / 0.5286 GB, free: 7.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/0.01732, allocations: 11.97 kB / 0.5287 GB, free: 7.828 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.01743, allocations: 15.89 kB / 0.5287 GB, free: 7.812 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.01745, allocations: 8 kB / 0.5287 GB, free: 7.805 MB / 458.7 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.0002172/0.01767, allocations: 222.1 kB / 0.5289 GB, free: 7.574 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.88e-05/0.01773, allocations: 35.8 kB / 0.5289 GB, free: 7.539 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.539e-05/0.01779, allocations: 29.7 kB / 0.5289 GB, free: 7.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.0178, allocations: 0.6562 kB / 0.5289 GB, free: 7.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.0178, allocations: 0 / 0.5289 GB, free: 7.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.0178, allocations: 3.438 kB / 0.529 GB, free: 7.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.01811, allocations: 252.4 kB / 0.5292 GB, free: 7.219 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01811, allocations: 0 / 0.5292 GB, free: 7.219 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.01822, allocations: 19.94 kB / 0.5292 GB, free: 7.199 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.01822, allocations: 7.922 kB / 0.5292 GB, free: 7.191 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.01824, allocations: 4 kB / 0.5292 GB, free: 7.188 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01825, allocations: 0 / 0.5292 GB, free: 7.188 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01825, allocations: 0 / 0.5292 GB, free: 7.188 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008062/0.01905, allocations: 413.8 kB / 0.5296 GB, free: 6.746 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.0191, allocations: 27.72 kB / 0.5296 GB, free: 6.719 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.01914, allocations: 8 kB / 0.5297 GB, free: 6.711 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.363e-05/0.01924, allocations: 11.94 kB / 0.5297 GB, free: 6.699 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.351e-05/0.01933, allocations: 27.95 kB / 0.5297 GB, free: 6.672 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.01936, allocations: 7.984 kB / 0.5297 GB, free: 6.664 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002253/0.01958, allocations: 221.8 kB / 0.5299 GB, free: 6.449 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01958, allocations: 0 / 0.5299 GB, free: 6.449 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002901/0.01987, allocations: 61.27 kB / 0.53 GB, free: 6.391 MB / 458.7 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.000234/0.0201, allocations: 131.8 kB / 0.5301 GB, free: 6.254 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005272/0.02063, allocations: 284.8 kB / 0.5304 GB, free: 5.949 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.02063, allocations: 4 kB / 0.5304 GB, free: 5.945 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002626/0.0209, allocations: 176.7 kB / 0.5305 GB, free: 5.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.02122, allocations: 49.55 kB / 0.5306 GB, free: 5.707 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008793/0.0221, allocations: 435.5 kB / 0.531 GB, free: 5.246 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.02226, allocations: 140 kB / 0.5311 GB, free: 5.098 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.181e-05/0.02235, allocations: 15.58 kB / 0.5311 GB, free: 5.082 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.02241, allocations: 24.48 kB / 0.5312 GB, free: 5.059 MB / 458.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02241, allocations: 8.562 kB / 0.5312 GB, free: 5.051 MB / 458.7 MB Notification: Performance of Templates: time 0.007708/0.03012, allocations: 2.873 MB / 0.534 GB, free: 2.344 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.03495641797781]