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.0006563/0.0006563, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009962/0.001652, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001705/0.001705, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002077/0.003783, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.023/1.023, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1397/1.162, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.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.8071/0.8071, allocations: 154.6 MB / 398.5 MB, free: 0.5391 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3055/1.113, allocations: 49.04 MB / 447.6 MB, free: 6.719 MB / 426.7 MB " [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.573e-06/1.573e-06, allocations: 0 / 448.9 MB, free: 5.445 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.526e-06/1.01e-05, allocations: 4.391 kB / 448.9 MB, free: 5.441 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002629/0.002639, allocations: 2.01 MB / 450.9 MB, free: 3.465 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.000838/0.003477, allocations: 0.7345 MB / 451.6 MB, free: 2.734 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.558e-05/0.003553, allocations: 4 kB / 451.6 MB, free: 2.73 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.003666, allocations: 101.8 kB / 451.7 MB, free: 2.633 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 9.373e-05/0.00376, allocations: 96.84 kB / 451.8 MB, free: 2.551 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.004028, allocations: 176.3 kB / 452 MB, free: 2.379 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.004253, allocations: 257.3 kB / 452.2 MB, free: 2.137 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.004366, allocations: 46.83 kB / 452.3 MB, free: 2.086 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.00453, allocations: 179.6 kB / 452.5 MB, free: 1.91 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.004659, allocations: 116.9 kB / 452.6 MB, free: 1.797 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.004794, allocations: 16 kB / 452.6 MB, free: 1.781 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.004922, allocations: 91.94 kB / 452.7 MB, free: 1.691 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.417e-05/0.004976, allocations: 52.52 kB / 452.7 MB, free: 1.641 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.199e-05/0.005028, allocations: 44.53 kB / 452.8 MB, free: 1.598 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.005249, allocations: 207.2 kB / 453 MB, free: 1.395 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.333e-05/0.005262, allocations: 5.281 kB / 453 MB, free: 1.391 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.005263, allocations: 0 / 453 MB, free: 1.391 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.005276, allocations: 0 / 453 MB, free: 1.391 MB / 426.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.0005699/0.005845, allocations: 0.5035 MB / 453.5 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.005875, allocations: 14 kB / 453.5 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.00592, allocations: 26.28 kB / 453.5 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.006117, allocations: 208.7 kB / 453.7 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.006134, allocations: 8.375 kB / 453.7 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.006159, allocations: 21.02 kB / 453.8 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.006381, allocations: 265.8 kB / 454 MB, free: 272 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.006388, allocations: 1.406 kB / 454 MB, free: 272 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.0064, allocations: 8.312 kB / 454 MB, free: 264 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.006407, allocations: 7.938 kB / 454 MB, free: 256 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.147e-05/0.006478, allocations: 73.98 kB / 454.1 MB, free: 176 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.0069, allocations: 464.9 kB / 454.6 MB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.00702, allocations: 137.6 kB / 454.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.611e-05/0.007066, allocations: 67.09 kB / 454.8 MB, free: 15.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.007077, allocations: 7.984 kB / 454.8 MB, free: 15.47 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001287/0.007206, allocations: 152 kB / 454.9 MB, free: 15.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.007207, allocations: 0 / 454.9 MB, free: 15.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001968/0.007404, allocations: 223.8 kB / 455.1 MB, free: 15.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.007436, allocations: 81.11 kB / 455.2 MB, free: 14.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.007558, allocations: 236.9 kB / 455.4 MB, free: 14.72 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.007575, allocations: 30.36 kB / 455.5 MB, free: 14.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.007631, allocations: 132.9 kB / 455.6 MB, free: 14.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.007658, allocations: 44.88 kB / 455.6 MB, free: 14.51 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.007703, allocations: 41.69 kB / 455.7 MB, free: 14.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.311e-05/0.007786, allocations: 338.8 kB / 456 MB, free: 14.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.15e-05/0.007828, allocations: 62.05 kB / 456.1 MB, free: 14.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.008132, allocations: 142.2 kB / 456.2 MB, free: 13.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.326e-05/0.008225, allocations: 156.7 kB / 456.4 MB, free: 13.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.008228, allocations: 4 kB / 456.4 MB, free: 13.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001354/0.008363, allocations: 189.7 kB / 456.6 MB, free: 13.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/0.008395, allocations: 41.62 kB / 456.6 MB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.0084, allocations: 0.625 kB / 456.6 MB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.213e-06/0.008407, allocations: 4 kB / 456.6 MB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.189e-05/0.008479, allocations: 24.61 kB / 456.6 MB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.008483, allocations: 3.938 kB / 456.6 MB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.813e-05/0.008541, allocations: 24.5 kB / 456.7 MB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.008551, allocations: 5.141 kB / 456.7 MB, free: 13.39 MB / 442.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 8.567e-05/0.008637, allocations: 163.5 kB / 456.8 MB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.008663, allocations: 19.98 kB / 456.8 MB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.008701, allocations: 31.48 kB / 456.9 MB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.008703, allocations: 4.688 kB / 456.9 MB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.008704, allocations: 0 / 456.9 MB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.008707, allocations: 1.781 kB / 456.9 MB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.008811, allocations: 133.7 kB / 457 MB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.008812, allocations: 0 / 457 MB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.244e-05/0.008864, allocations: 19.92 kB / 457 MB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.526e-05/0.008879, allocations: 19.86 kB / 457 MB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.008881, allocations: 0.75 kB / 457 MB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.008892, allocations: 11.94 kB / 457.1 MB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.008894, allocations: 4.859 kB / 457.1 MB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.008895, allocations: 0 / 457.1 MB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.009104, allocations: 280.3 kB / 457.3 MB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.009126, allocations: 6.344 kB / 457.3 MB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.986e-05/0.009166, allocations: 11.98 kB / 457.4 MB, free: 12.63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.009213, allocations: 27.89 kB / 457.4 MB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.009225, allocations: 4.703 kB / 457.4 MB, free: 12.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.008e-05/0.009275, allocations: 78.77 kB / 457.5 MB, free: 12.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009275, allocations: 0 / 457.5 MB, free: 12.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001415/0.009416, allocations: 57.39 kB / 457.5 MB, free: 12.46 MB / 442.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.000116/0.009532, allocations: 114.2 kB / 457.6 MB, free: 12.35 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.009703, allocations: 221.9 kB / 457.9 MB, free: 12.11 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.00971, allocations: 4 kB / 457.9 MB, free: 12.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.572e-05/0.009786, allocations: 137.9 kB / 458 MB, free: 11.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.009915, allocations: 47.86 kB / 458 MB, free: 11.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005252/0.01044, allocations: 422.9 kB / 458.4 MB, free: 11.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.192e-05/0.01048, allocations: 87.67 kB / 458.5 MB, free: 11.35 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.053e-05/0.01053, allocations: 16.95 kB / 458.6 MB, free: 11.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.01064, allocations: 91.95 kB / 458.6 MB, free: 11.25 MB / 442.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01064, allocations: 3.938 kB / 458.6 MB, free: 11.24 MB / 442.7 MB Notification: Performance of Templates: time 0.005586/0.01623, allocations: 3.222 MB / 461.9 MB, free: 8.262 MB / 442.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: 3.630117985419929]