Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000837/0.000837, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.0009571/0.0009571, allocations: 173 kB / 23.36 MB, free: 1.133 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.019/1.019, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8058/0.8058, allocations: 154.9 MB / 415.1 MB, free: 244 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 480.3 MB, free: 6.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.867e-05, allocations: 4.281 kB / 480.3 MB, free: 6.586 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.00366/0.003688, allocations: 1.967 MB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.005179, allocations: 0.7313 MB / 483 MB, free: 3.918 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.005317, allocations: 4.984 kB / 483 MB, free: 3.914 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.005602, allocations: 80.48 kB / 483.1 MB, free: 3.836 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.005773, allocations: 95.09 kB / 483.2 MB, free: 3.754 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006281/0.006401, allocations: 194 kB / 483.4 MB, free: 3.566 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.006757, allocations: 255.4 kB / 483.7 MB, free: 3.316 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.006912, allocations: 54.53 kB / 483.7 MB, free: 3.262 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.007156, allocations: 164.4 kB / 483.9 MB, free: 3.102 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.007367, allocations: 116.4 kB / 484 MB, free: 2.988 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.176e-05/0.007409, allocations: 20 kB / 484 MB, free: 2.969 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.007559, allocations: 89.17 kB / 484.1 MB, free: 2.883 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.06e-05/0.00764, allocations: 55.84 kB / 484.1 MB, free: 2.828 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.517e-05/0.007725, allocations: 59.77 kB / 484.2 MB, free: 2.77 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.008059, allocations: 231.8 kB / 484.4 MB, free: 2.543 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.008062, allocations: 0 / 484.4 MB, free: 2.543 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.008062, allocations: 1.125 kB / 484.4 MB, free: 2.543 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.008066, allocations: 0 / 484.4 MB, free: 2.543 MB / 442.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.0006673/0.008734, allocations: 484.4 kB / 484.9 MB, free: 2.047 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.008771, allocations: 8.031 kB / 484.9 MB, free: 2.039 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.574e-05/0.008837, allocations: 33.97 kB / 484.9 MB, free: 2.008 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.009108, allocations: 202.2 kB / 485.1 MB, free: 1.789 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.009136, allocations: 12.38 kB / 485.2 MB, free: 1.777 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/0.009174, allocations: 17.59 kB / 485.2 MB, free: 1.762 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003205/0.009494, allocations: 257.1 kB / 485.4 MB, free: 1.465 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.009504, allocations: 192 / 485.4 MB, free: 1.465 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.00952, allocations: 5.812 kB / 485.4 MB, free: 1.461 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.009529, allocations: 7.938 kB / 485.4 MB, free: 1.453 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.009632, allocations: 76.91 kB / 485.5 MB, free: 1.371 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005779/0.01021, allocations: 460.6 kB / 486 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.01037, allocations: 141.1 kB / 486.1 MB, free: 0.7461 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.477e-05/0.01044, allocations: 59.94 kB / 486.2 MB, free: 0.6797 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.01045, allocations: 4 kB / 486.2 MB, free: 0.6758 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.01061, allocations: 150.4 kB / 486.3 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 1.954e-06/0.01061, allocations: 0 / 486.3 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002589/0.01087, allocations: 214.6 kB / 486.5 MB, free: 280 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.01093, allocations: 136.5 kB / 486.7 MB, free: 112 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.01111, allocations: 225.6 kB / 486.9 MB, free: 15.88 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.01114, allocations: 29.7 kB / 486.9 MB, free: 15.85 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.01122, allocations: 141.4 kB / 487 MB, free: 15.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.01126, allocations: 47.62 kB / 487.1 MB, free: 15.66 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/0.01132, allocations: 38.31 kB / 487.1 MB, free: 15.61 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.01143, allocations: 335.4 kB / 487.5 MB, free: 15.28 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.444e-05/0.01149, allocations: 52.52 kB / 487.5 MB, free: 15.22 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.01159, allocations: 150.8 kB / 487.7 MB, free: 15.04 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.01172, allocations: 142.8 kB / 487.8 MB, free: 14.87 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.01173, allocations: 4.531 kB / 487.8 MB, free: 14.87 MB / 458.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002068/0.01193, allocations: 178.9 kB / 488 MB, free: 14.68 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.01197, allocations: 45.62 kB / 488 MB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01198, allocations: 0 / 488 MB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.01199, allocations: 0.6094 kB / 488 MB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.01209, allocations: 24.89 kB / 488 MB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.01209, allocations: 3.938 kB / 488 MB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.296e-05/0.01216, allocations: 25.72 kB / 488.1 MB, free: 14.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.01217, allocations: 4 kB / 488.1 MB, free: 14.57 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 9.481e-05/0.01226, allocations: 160.5 kB / 488.2 MB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.01229, allocations: 19.98 kB / 488.2 MB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.01232, allocations: 26.27 kB / 488.3 MB, free: 14.35 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.01232, allocations: 4 kB / 488.3 MB, free: 14.35 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.01232, allocations: 0 / 488.3 MB, free: 14.35 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.01232, allocations: 0 / 488.3 MB, free: 14.35 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.01243, allocations: 135.4 kB / 488.4 MB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01243, allocations: 0 / 488.4 MB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.858e-05/0.01248, allocations: 20.81 kB / 488.4 MB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.01248, allocations: 0 / 488.4 MB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.01249, allocations: 4 kB / 488.4 MB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01249, allocations: 0.5 kB / 488.4 MB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01249, allocations: 5.344 kB / 488.4 MB, free: 14.17 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.01271, allocations: 271.7 kB / 488.7 MB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.923e-05/0.01273, allocations: 19.84 kB / 488.7 MB, free: 13.85 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.01275, allocations: 8.75 kB / 488.7 MB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.251e-05/0.01279, allocations: 13.59 kB / 488.7 MB, free: 13.83 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/0.01284, allocations: 31.89 kB / 488.8 MB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.01285, allocations: 3.984 kB / 488.8 MB, free: 13.79 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.446e-05/0.01291, allocations: 74.78 kB / 488.9 MB, free: 13.72 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01291, allocations: 0 / 488.9 MB, free: 13.72 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001529/0.01306, allocations: 61.02 kB / 488.9 MB, free: 13.66 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.0001265/0.01319, allocations: 121.5 kB / 489 MB, free: 13.54 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.01335, allocations: 204.3 kB / 489.2 MB, free: 13.31 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.01335, allocations: 4 kB / 489.2 MB, free: 13.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.562e-05/0.01343, allocations: 139.3 kB / 489.4 MB, free: 13.15 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.01356, allocations: 37.95 kB / 489.4 MB, free: 13.11 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.01397, allocations: 414.2 kB / 489.8 MB, free: 12.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.87e-05/0.01402, allocations: 85.59 kB / 489.9 MB, free: 12.57 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.72e-05/0.01407, allocations: 20.38 kB / 489.9 MB, free: 12.55 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.01418, allocations: 91.95 kB / 490 MB, free: 12.46 MB / 458.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01418, allocations: 4.844 kB / 490 MB, free: 12.46 MB / 458.7 MB Notification: Performance of Templates: time 0.004597/0.01878, allocations: 3.109 MB / 493.1 MB, free: 9.594 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7798947291448712]