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.001613/0.001613, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001191/0.001191, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.014/1.014, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.819/0.819, allocations: 154.6 MB / 415.6 MB, free: 0.5312 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 1.352e-06/1.352e-06, allocations: 0 / 0.5215 GB, free: 1.965 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.489e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.961 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002887/0.002912, allocations: 1.955 MB / 0.5234 GB, free: 12 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.003921, allocations: 0.7117 MB / 0.5241 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.004029, allocations: 7.938 kB / 0.5241 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.004261, allocations: 88.53 kB / 0.5242 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.658e-05/0.004358, allocations: 85.39 kB / 0.5243 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00046/0.004818, allocations: 181.2 kB / 0.5245 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002833/0.005101, allocations: 276.5 kB / 0.5247 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.005248, allocations: 53.69 kB / 0.5248 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.005422, allocations: 159.7 kB / 0.5249 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.005604, allocations: 128.3 kB / 0.5251 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.005633, allocations: 21.69 kB / 0.5251 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.005756, allocations: 87.92 kB / 0.5252 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.359e-05/0.005829, allocations: 55.77 kB / 0.5252 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.666e-05/0.005896, allocations: 67.78 kB / 0.5253 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.006157, allocations: 224.5 kB / 0.5255 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.00616, allocations: 0 / 0.5255 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.082e-06/0.006161, allocations: 0 / 0.5255 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.006165, allocations: 0 / 0.5255 GB, free: 13.9 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.0005672/0.006733, allocations: 0.6002 MB / 0.5261 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.006768, allocations: 12.03 kB / 0.5261 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.006828, allocations: 44.73 kB / 0.5261 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.007063, allocations: 228.8 kB / 0.5264 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.007087, allocations: 12.38 kB / 0.5264 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.007114, allocations: 17.5 kB / 0.5264 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.007374, allocations: 255.7 kB / 0.5266 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.007383, allocations: 0.9375 kB / 0.5266 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.007396, allocations: 4.375 kB / 0.5266 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.007402, allocations: 8.625 kB / 0.5266 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.412e-05/0.007486, allocations: 81.38 kB / 0.5267 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.008065, allocations: 0.678 MB / 0.5274 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.008202, allocations: 108.8 kB / 0.5275 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.191e-05/0.008254, allocations: 65.38 kB / 0.5275 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.008264, allocations: 0 / 0.5275 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.008419, allocations: 149.2 kB / 0.5277 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.008421, allocations: 4 kB / 0.5277 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0003107/0.008732, allocations: 253 kB / 0.5279 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.008791, allocations: 137.4 kB / 0.5281 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.008982, allocations: 308.2 kB / 0.5284 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.009003, allocations: 29.7 kB / 0.5284 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.009114, allocations: 216.6 kB / 0.5286 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000253/0.009367, allocations: 47.62 kB / 0.5286 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.639e-05/0.009424, allocations: 43.34 kB / 0.5287 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.009562, allocations: 0.5118 MB / 0.5292 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.45e-05/0.009616, allocations: 58.56 kB / 0.5292 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.879e-05/0.009715, allocations: 163.9 kB / 0.5294 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.009826, allocations: 149.8 kB / 0.5295 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.009828, allocations: 0 / 0.5295 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002389/0.01007, allocations: 244.3 kB / 0.5298 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/0.01011, allocations: 41.62 kB / 0.5298 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01011, allocations: 0 / 0.5298 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.01013, allocations: 10.69 kB / 0.5298 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.01023, allocations: 19.98 kB / 0.5298 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.01024, allocations: 3.984 kB / 0.5298 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.703e-05/0.0103, allocations: 19.89 kB / 0.5299 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.01032, allocations: 8 kB / 0.5299 GB, free: 9.027 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.0001523/0.01047, allocations: 211.7 kB / 0.5301 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.0105, allocations: 31.8 kB / 0.5301 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.355e-05/0.01055, allocations: 25.77 kB / 0.5301 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.01055, allocations: 4 kB / 0.5301 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.01055, allocations: 0 / 0.5301 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.01056, allocations: 0.9375 kB / 0.5301 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.01074, allocations: 173.1 kB / 0.5303 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.01074, allocations: 4.703 kB / 0.5303 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.115e-05/0.01082, allocations: 15.98 kB / 0.5303 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.01083, allocations: 0.6562 kB / 0.5303 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.01085, allocations: 8 kB / 0.5303 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.01085, allocations: 7.156 kB / 0.5303 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.01085, allocations: 0 / 0.5303 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.01122, allocations: 321.2 kB / 0.5306 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.01125, allocations: 27.84 kB / 0.5307 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.01128, allocations: 8 kB / 0.5307 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.312e-05/0.01133, allocations: 11.94 kB / 0.5307 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.0114, allocations: 23.95 kB / 0.5307 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.01143, allocations: 15.11 kB / 0.5307 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001073/0.01154, allocations: 197.1 kB / 0.5309 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01154, allocations: 0 / 0.5309 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002227/0.01176, allocations: 63.83 kB / 0.531 GB, free: 7.828 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.0001845/0.01194, allocations: 131.1 kB / 0.5311 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002422/0.01219, allocations: 221.2 kB / 0.5313 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01219, allocations: 0 / 0.5313 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.01229, allocations: 151.2 kB / 0.5314 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.01252, allocations: 28.48 kB / 0.5315 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000553/0.01307, allocations: 426.7 kB / 0.5319 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.244e-05/0.01312, allocations: 83.81 kB / 0.532 GB, free: 6.711 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.262e-05/0.01317, allocations: 15.95 kB / 0.532 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.01331, allocations: 122.2 kB / 0.5321 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/0.01331, allocations: 0 / 0.5321 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of Templates: time 0.005767/0.01908, allocations: 3.182 MB / 0.5352 GB, free: 3.578 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.90651461109519]