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.001003/0.001003, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001028/0.001028, allocations: 173 kB / 23.49 MB, free: 1.059 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.069/1.069, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8099/0.8099, allocations: 154.6 MB / 414.9 MB, free: 0.6484 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 179] 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.034e-06/2.034e-06, allocations: 0 / 0.5203 GB, free: 2.547 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.565e-05/3.768e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.543 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003898/0.003935, allocations: 1.966 MB / 0.5222 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.005499, allocations: 0.7155 MB / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.005635, allocations: 3.938 kB / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.005896, allocations: 88.69 kB / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.006054, allocations: 85.8 kB / 0.5231 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.007184, allocations: 189.3 kB / 0.5233 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000372/0.007556, allocations: 267.3 kB / 0.5235 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.007727, allocations: 57.69 kB / 0.5236 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002114/0.007939, allocations: 157.5 kB / 0.5238 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.008152, allocations: 135.7 kB / 0.5239 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.008192, allocations: 20 kB / 0.5239 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.008341, allocations: 84.69 kB / 0.524 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.983e-05/0.008431, allocations: 63.77 kB / 0.524 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.854e-05/0.008519, allocations: 65.17 kB / 0.5241 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000377/0.008896, allocations: 231.2 kB / 0.5243 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.008899, allocations: 0 / 0.5243 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.02e-07/0.0089, allocations: 0 / 0.5243 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.008908, allocations: 5.344 kB / 0.5243 GB, free: 14.45 MB / 0.4948 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.0008565/0.009764, allocations: 0.6038 MB / 0.5249 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.009822, allocations: 12.03 kB / 0.5249 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.763e-05/0.009919, allocations: 40.75 kB / 0.525 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.01034, allocations: 242.2 kB / 0.5252 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/0.01037, allocations: 16.38 kB / 0.5252 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.01041, allocations: 20.31 kB / 0.5252 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.01081, allocations: 267.7 kB / 0.5255 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.01082, allocations: 0.75 kB / 0.5255 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.01084, allocations: 12.12 kB / 0.5255 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.01085, allocations: 4.562 kB / 0.5255 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.01101, allocations: 86.94 kB / 0.5256 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008337/0.01184, allocations: 0.7181 MB / 0.5263 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.01206, allocations: 113.6 kB / 0.5264 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.993e-05/0.01215, allocations: 69.52 kB / 0.5265 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.01216, allocations: 7.25 kB / 0.5265 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002142/0.01238, allocations: 164.4 kB / 0.5266 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.01238, allocations: 0 / 0.5266 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0004521/0.01283, allocations: 260.7 kB / 0.5269 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.972e-05/0.01291, allocations: 136.5 kB / 0.527 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.01318, allocations: 300.3 kB / 0.5273 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.01321, allocations: 33.7 kB / 0.5273 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.01334, allocations: 207.1 kB / 0.5275 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.505e-05/0.01339, allocations: 54.53 kB / 0.5276 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.788e-05/0.01347, allocations: 47.36 kB / 0.5276 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.01366, allocations: 0.5157 MB / 0.5281 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.395e-05/0.01376, allocations: 57.59 kB / 0.5282 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.0139, allocations: 178.2 kB / 0.5284 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.01409, allocations: 158.5 kB / 0.5285 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.01409, allocations: 0 / 0.5285 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003606/0.01446, allocations: 249.2 kB / 0.5287 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.096e-05/0.0145, allocations: 36.08 kB / 0.5288 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.0145, allocations: 0 / 0.5288 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.01452, allocations: 7.938 kB / 0.5288 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.01464, allocations: 27.92 kB / 0.5288 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.01465, allocations: 4 kB / 0.5288 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.805e-05/0.01474, allocations: 15.94 kB / 0.5288 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.01475, allocations: 10.44 kB / 0.5288 GB, free: 9.434 MB / 0.4948 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.0001481/0.0149, allocations: 213.6 kB / 0.529 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.01495, allocations: 39.8 kB / 0.5291 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.574e-05/0.015, allocations: 21.77 kB / 0.5291 GB, free: 9.148 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.015, allocations: 0 / 0.5291 GB, free: 9.148 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.015, allocations: 1.875 kB / 0.5291 GB, free: 9.148 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.01501, allocations: 4 kB / 0.5291 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.01522, allocations: 216.5 kB / 0.5293 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01523, allocations: 0 / 0.5293 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-05/0.01532, allocations: 12 kB / 0.5293 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.01532, allocations: 4.969 kB / 0.5293 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.01535, allocations: 11.98 kB / 0.5293 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.01535, allocations: 0.9375 kB / 0.5293 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01535, allocations: 0 / 0.5293 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004812/0.01583, allocations: 340.8 kB / 0.5297 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.245e-05/0.01586, allocations: 27.8 kB / 0.5297 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.001e-05/0.0159, allocations: 8 kB / 0.5297 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.702e-05/0.01598, allocations: 10.42 kB / 0.5297 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.668e-05/0.01608, allocations: 27.95 kB / 0.5297 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.0161, allocations: 4 kB / 0.5297 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001663/0.01627, allocations: 205.1 kB / 0.5299 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.01627, allocations: 0 / 0.5299 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003201/0.01659, allocations: 63.88 kB / 0.53 GB, free: 8.164 MB / 0.4948 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.0002084/0.01679, allocations: 133.7 kB / 0.5301 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003403/0.01713, allocations: 226.4 kB / 0.5303 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01714, allocations: 5.5 kB / 0.5303 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.01731, allocations: 141 kB / 0.5305 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.01754, allocations: 57.14 kB / 0.5305 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005603/0.0181, allocations: 427 kB / 0.5309 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.193e-05/0.01815, allocations: 88.53 kB / 0.531 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.562e-05/0.01821, allocations: 17.08 kB / 0.531 GB, free: 7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.01825, allocations: 24.48 kB / 0.5311 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of SimCode: time 6.52e-07/0.01825, allocations: 0 / 0.5311 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of Templates: time 0.007853/0.0261, allocations: 2.89 MB / 0.5339 GB, free: 4.246 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9268478660378605]