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.001361/0.001361, allocations: 88.72 kB / 19.44 MB, free: 356 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.001583/0.001583, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.487/1.487, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.231/1.231, allocations: 154.6 MB / 414.2 MB, free: 0.6406 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 1.513e-06/1.513e-06, allocations: 0 / 0.5196 GB, free: 2.578 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.038e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.574 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003838/0.003869, allocations: 1.914 MB / 0.5215 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.005497, allocations: 0.7036 MB / 0.5222 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.005638, allocations: 3.938 kB / 0.5222 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.00589, allocations: 88.39 kB / 0.5223 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.006069, allocations: 82.27 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006268/0.006696, allocations: 188.3 kB / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004413/0.007137, allocations: 267.3 kB / 0.5228 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.007306, allocations: 49.41 kB / 0.5228 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002961/0.007602, allocations: 163.6 kB / 0.523 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.007861, allocations: 131.7 kB / 0.5231 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.92e-05/0.00791, allocations: 22.06 kB / 0.5231 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.008082, allocations: 91.86 kB / 0.5232 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.008191, allocations: 59.78 kB / 0.5233 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.008304, allocations: 63.77 kB / 0.5233 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007567/0.009061, allocations: 331 kB / 0.5236 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.009064, allocations: 0 / 0.5236 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.252e-06/0.009065, allocations: 1.469 kB / 0.5236 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.009075, allocations: 0 / 0.5236 GB, free: 14.46 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.001025/0.0101, allocations: 0.5121 MB / 0.5241 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.01014, allocations: 8.031 kB / 0.5242 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.01025, allocations: 36.8 kB / 0.5242 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005658/0.01082, allocations: 255.2 kB / 0.5244 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.01085, allocations: 12.38 kB / 0.5244 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/0.01089, allocations: 12.38 kB / 0.5245 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005382/0.01143, allocations: 310 kB / 0.5248 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.01144, allocations: 4.125 kB / 0.5248 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.01147, allocations: 8.625 kB / 0.5248 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.01147, allocations: 4 kB / 0.5248 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003222/0.0118, allocations: 159.8 kB / 0.5249 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009887/0.01278, allocations: 0.5808 MB / 0.5255 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004517/0.01324, allocations: 184.2 kB / 0.5257 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.01346, allocations: 120.3 kB / 0.5258 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.01348, allocations: 0 / 0.5258 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003648/0.01384, allocations: 202.7 kB / 0.526 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.01384, allocations: 0.75 kB / 0.526 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0009205/0.01476, allocations: 449.9 kB / 0.5264 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.01488, allocations: 133.6 kB / 0.5265 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.01524, allocations: 269.9 kB / 0.5268 GB, free: 11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.01528, allocations: 29.69 kB / 0.5268 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.01543, allocations: 159.3 kB / 0.527 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.677e-05/0.01549, allocations: 43.64 kB / 0.527 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.311e-05/0.01558, allocations: 41.7 kB / 0.527 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.01578, allocations: 334.8 kB / 0.5274 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.01601, allocations: 121.7 kB / 0.5275 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.01631, allocations: 219.2 kB / 0.5277 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/0.01672, allocations: 250.8 kB / 0.5279 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01672, allocations: 0 / 0.5279 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006772/0.0174, allocations: 389.4 kB / 0.5283 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.411e-05/0.01746, allocations: 38.83 kB / 0.5283 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.01747, allocations: 0 / 0.5283 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/0.0175, allocations: 0 / 0.5283 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.01765, allocations: 32.61 kB / 0.5284 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.01766, allocations: 5.453 kB / 0.5284 GB, free: 9.266 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.01781, allocations: 27.88 kB / 0.5284 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.01783, allocations: 4 kB / 0.5284 GB, free: 9.234 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.000274/0.0181, allocations: 188.9 kB / 0.5286 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.257e-05/0.01817, allocations: 35.8 kB / 0.5286 GB, free: 9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.726e-05/0.01824, allocations: 30.36 kB / 0.5287 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.01824, allocations: 0 / 0.5287 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.01826, allocations: 8.438 kB / 0.5287 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01826, allocations: 0.8125 kB / 0.5287 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.01858, allocations: 205.1 kB / 0.5289 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01858, allocations: 0 / 0.5289 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.0187, allocations: 21.61 kB / 0.5289 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.01871, allocations: 3.938 kB / 0.5289 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.01873, allocations: 4 kB / 0.5289 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01873, allocations: 0 / 0.5289 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01873, allocations: 2.438 kB / 0.5289 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.01975, allocations: 0.5253 MB / 0.5294 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.0198, allocations: 27.77 kB / 0.5294 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.85e-05/0.01986, allocations: 8 kB / 0.5294 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.01998, allocations: 14.61 kB / 0.5294 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.02009, allocations: 23.95 kB / 0.5295 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.02011, allocations: 4 kB / 0.5295 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002549/0.02037, allocations: 193.2 kB / 0.5297 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02037, allocations: 0 / 0.5297 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000349/0.02072, allocations: 63.88 kB / 0.5297 GB, free: 7.82 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.0003009/0.02102, allocations: 133.2 kB / 0.5298 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006821/0.0217, allocations: 323.6 kB / 0.5302 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.0217, allocations: 0 / 0.5302 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007307/0.02243, allocations: 197.8 kB / 0.5303 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.02282, allocations: 39.55 kB / 0.5304 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.02392, allocations: 490 kB / 0.5308 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.02411, allocations: 152.3 kB / 0.531 GB, free: 6.422 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.606e-05/0.02419, allocations: 16.83 kB / 0.531 GB, free: 6.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.102e-05/0.02425, allocations: 20.5 kB / 0.531 GB, free: 6.387 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/0.02425, allocations: 0 / 0.531 GB, free: 6.387 MB / 0.4948 GB Notification: Performance of Templates: time 0.007838/0.03209, allocations: 2.878 MB / 0.5338 GB, free: 3.676 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.09836908208672]