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.0009992/0.0009992, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009898/0.0009898, allocations: 177 kB / 23.36 MB, free: 1.129 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.142/1.142, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.8364/0.8364, allocations: 154.9 MB / 415.1 MB, free: 220 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.393e-06/1.393e-06, allocations: 0 / 480.4 MB, free: 6.504 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.351e-05, allocations: 7.766 kB / 480.4 MB, free: 6.496 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002558/0.002582, allocations: 2.017 MB / 482.4 MB, free: 4.512 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000943/0.003525, allocations: 0.7317 MB / 483.1 MB, free: 3.785 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.9e-05/0.003624, allocations: 5.094 kB / 483.1 MB, free: 3.781 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.003824, allocations: 79.58 kB / 483.2 MB, free: 3.703 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.003932, allocations: 99.44 kB / 483.3 MB, free: 3.617 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005487/0.00448, allocations: 177.3 kB / 483.5 MB, free: 3.449 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003544/0.004835, allocations: 261.8 kB / 483.7 MB, free: 3.195 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.00495, allocations: 53.94 kB / 483.8 MB, free: 3.141 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.005101, allocations: 167.6 kB / 484 MB, free: 2.977 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.005273, allocations: 111.7 kB / 484.1 MB, free: 2.867 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.005298, allocations: 16 kB / 484.1 MB, free: 2.852 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.005436, allocations: 100.8 kB / 484.2 MB, free: 2.754 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.176e-05/0.005497, allocations: 63.77 kB / 484.2 MB, free: 2.691 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.253e-05/0.00555, allocations: 56.7 kB / 484.3 MB, free: 2.637 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.005779, allocations: 227.2 kB / 484.5 MB, free: 2.414 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.005781, allocations: 0.625 kB / 484.5 MB, free: 2.414 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.005783, allocations: 3.984 kB / 484.5 MB, free: 2.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.005787, allocations: 0.625 kB / 484.5 MB, free: 2.41 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.0005178/0.006304, allocations: 484 kB / 485 MB, free: 1.914 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.006336, allocations: 8.656 kB / 485 MB, free: 1.906 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.006382, allocations: 28.91 kB / 485 MB, free: 1.879 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.006587, allocations: 206 kB / 485.2 MB, free: 1.656 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.006607, allocations: 13.09 kB / 485.3 MB, free: 1.645 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.00663, allocations: 20.31 kB / 485.3 MB, free: 1.625 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.00684, allocations: 253 kB / 485.5 MB, free: 1.332 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.006846, allocations: 1.969 kB / 485.5 MB, free: 1.332 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.006859, allocations: 6.438 kB / 485.5 MB, free: 1.328 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.006865, allocations: 7.938 kB / 485.5 MB, free: 1.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.014e-05/0.006936, allocations: 72.92 kB / 485.6 MB, free: 1.242 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.007332, allocations: 461.4 kB / 486.1 MB, free: 0.7695 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.007445, allocations: 136.8 kB / 486.2 MB, free: 0.6211 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.421e-05/0.007489, allocations: 58.58 kB / 486.2 MB, free: 0.5547 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.007503, allocations: 8.906 kB / 486.3 MB, free: 0.5469 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.007625, allocations: 153.5 kB / 486.4 MB, free: 380 kB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.007626, allocations: 1.219 kB / 486.4 MB, free: 380 kB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001875/0.007814, allocations: 209.5 kB / 486.6 MB, free: 148 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003065/0.00812, allocations: 137.7 kB / 486.7 MB, free: 15.98 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.008245, allocations: 229 kB / 487 MB, free: 15.75 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.008263, allocations: 33.7 kB / 487 MB, free: 15.71 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.194e-05/0.008325, allocations: 138.7 kB / 487.1 MB, free: 15.57 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.008348, allocations: 43.62 kB / 487.2 MB, free: 15.53 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.008396, allocations: 37.69 kB / 487.2 MB, free: 15.48 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.008484, allocations: 338.8 kB / 487.5 MB, free: 15.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.276e-05/0.008527, allocations: 56.52 kB / 487.6 MB, free: 15.08 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.959e-05/0.008596, allocations: 143 kB / 487.7 MB, free: 14.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.978e-05/0.008686, allocations: 138.5 kB / 487.9 MB, free: 14.75 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.008688, allocations: 5.062 kB / 487.9 MB, free: 14.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001396/0.008828, allocations: 185.9 kB / 488.1 MB, free: 14.54 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.008858, allocations: 41.62 kB / 488.1 MB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.008862, allocations: 0.875 kB / 488.1 MB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.008871, allocations: 0 / 488.1 MB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.001e-05/0.008941, allocations: 25.41 kB / 488.1 MB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.008946, allocations: 3.984 kB / 488.1 MB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.579e-05/0.009002, allocations: 23.83 kB / 488.2 MB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.009011, allocations: 4.75 kB / 488.2 MB, free: 14.44 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 8.765e-05/0.009099, allocations: 162.8 kB / 488.3 MB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.009119, allocations: 20.56 kB / 488.3 MB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.009151, allocations: 34.88 kB / 488.4 MB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.009153, allocations: 0 / 488.4 MB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.009154, allocations: 0 / 488.4 MB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.009157, allocations: 3.984 kB / 488.4 MB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.909e-05/0.009256, allocations: 134.7 kB / 488.5 MB, free: 14.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.009257, allocations: 0 / 488.5 MB, free: 14.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.479e-05/0.009312, allocations: 17.34 kB / 488.5 MB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.009313, allocations: 0 / 488.5 MB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.009324, allocations: 7.984 kB / 488.5 MB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.009326, allocations: 4 kB / 488.5 MB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.009328, allocations: 4.719 kB / 488.5 MB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.009532, allocations: 264.3 kB / 488.8 MB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.009551, allocations: 19.86 kB / 488.8 MB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.009573, allocations: 5.562 kB / 488.8 MB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.951e-05/0.009612, allocations: 11.98 kB / 488.8 MB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.009663, allocations: 27.89 kB / 488.9 MB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.009675, allocations: 8.625 kB / 488.9 MB, free: 13.66 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.171e-05/0.009727, allocations: 78.77 kB / 489 MB, free: 13.59 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009727, allocations: 2.344 kB / 489 MB, free: 13.59 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001453/0.009873, allocations: 59.89 kB / 489 MB, free: 13.53 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.0001189/0.009991, allocations: 115 kB / 489.1 MB, free: 13.41 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.01015, allocations: 213.1 kB / 489.3 MB, free: 13.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.01016, allocations: 4 kB / 489.3 MB, free: 13.17 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.19e-05/0.01023, allocations: 133.9 kB / 489.5 MB, free: 13.02 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.01037, allocations: 47.75 kB / 489.5 MB, free: 12.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.01077, allocations: 411 kB / 489.9 MB, free: 12.55 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.098e-05/0.01081, allocations: 85.59 kB / 490 MB, free: 12.45 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.57e-05/0.01086, allocations: 20.27 kB / 490 MB, free: 12.43 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004566/0.01132, allocations: 99.34 kB / 490.1 MB, free: 12.33 MB / 458.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01132, allocations: 0 / 490.1 MB, free: 12.33 MB / 458.7 MB Notification: Performance of Templates: time 0.004515/0.01583, allocations: 3.106 MB / 493.2 MB, free: 9.457 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7543970150873065]