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.001208/0.001208, 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.001129/0.001129, 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 0.984/0.984, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.8506/0.8506, allocations: 154.9 MB / 415.9 MB, free: 252 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.303e-06/1.303e-06, allocations: 0.7656 kB / 0.5219 GB, free: 1.547 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/1.952e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.543 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002313/0.002333, allocations: 1.965 MB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0009808/0.003313, allocations: 0.7072 MB / 0.5245 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.003414, allocations: 4.781 kB / 0.5245 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.003621, allocations: 89.77 kB / 0.5246 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.003721, allocations: 95.48 kB / 0.5247 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.004145, allocations: 186 kB / 0.5248 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000246/0.004391, allocations: 259.4 kB / 0.5251 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.00452, allocations: 50.14 kB / 0.5251 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.004668, allocations: 160.4 kB / 0.5253 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.004819, allocations: 136.5 kB / 0.5254 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.004846, allocations: 20 kB / 0.5254 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.004947, allocations: 84.88 kB / 0.5255 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.158e-05/0.005009, allocations: 59.77 kB / 0.5256 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.695e-05/0.005066, allocations: 55.84 kB / 0.5256 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.005308, allocations: 231.7 kB / 0.5258 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.005309, allocations: 0.9688 kB / 0.5258 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.91e-07/0.00531, allocations: 0 / 0.5258 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.005314, allocations: 0 / 0.5258 GB, free: 13.48 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.000512/0.005826, allocations: 0.6074 MB / 0.5264 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.005856, allocations: 12.03 kB / 0.5265 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/0.005907, allocations: 37.42 kB / 0.5265 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.006107, allocations: 229.3 kB / 0.5267 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.006127, allocations: 16.38 kB / 0.5267 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.006149, allocations: 12.38 kB / 0.5267 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.006376, allocations: 257.5 kB / 0.527 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.006385, allocations: 4.125 kB / 0.527 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.006397, allocations: 4.375 kB / 0.527 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.006404, allocations: 7.938 kB / 0.527 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.148e-05/0.006475, allocations: 75.81 kB / 0.5271 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.006945, allocations: 0.678 MB / 0.5277 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.00706, allocations: 101.5 kB / 0.5278 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.648e-05/0.007107, allocations: 66.92 kB / 0.5279 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.007115, allocations: 0 / 0.5279 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000124/0.007239, allocations: 152.4 kB / 0.528 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 9.62e-07/0.00724, allocations: 1.031 kB / 0.528 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0002609/0.0075, allocations: 260.2 kB / 0.5283 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.007549, allocations: 141.7 kB / 0.5284 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.007701, allocations: 300.2 kB / 0.5287 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.007718, allocations: 33.7 kB / 0.5287 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.37e-05/0.007812, allocations: 210.4 kB / 0.5289 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.007842, allocations: 47.62 kB / 0.529 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.007891, allocations: 43.34 kB / 0.529 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.008015, allocations: 0.5157 MB / 0.5295 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.465e-05/0.008059, allocations: 57.59 kB / 0.5296 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.81e-05/0.008148, allocations: 163.9 kB / 0.5297 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.008249, allocations: 158.7 kB / 0.5299 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.008251, allocations: 0 / 0.5299 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000196/0.008447, allocations: 237.6 kB / 0.5301 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.008475, allocations: 43.97 kB / 0.5302 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.008479, allocations: 0 / 0.5302 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.213e-06/0.008486, allocations: 0 / 0.5302 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.992e-05/0.008556, allocations: 25.48 kB / 0.5302 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.614e-06/0.008559, allocations: 4 kB / 0.5302 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.522e-05/0.008614, allocations: 15.94 kB / 0.5302 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.008624, allocations: 5.406 kB / 0.5302 GB, free: 8.617 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.0001017/0.008726, allocations: 213.4 kB / 0.5304 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.00876, allocations: 37.08 kB / 0.5304 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.008789, allocations: 25.78 kB / 0.5305 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.00879, allocations: 0 / 0.5305 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.008793, allocations: 7.984 kB / 0.5305 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.008797, allocations: 0.6562 kB / 0.5305 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.008916, allocations: 169.7 kB / 0.5306 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.008917, allocations: 0 / 0.5306 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.793e-05/0.008965, allocations: 20.48 kB / 0.5307 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.008966, allocations: 2.812 kB / 0.5307 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.008976, allocations: 4 kB / 0.5307 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.008979, allocations: 7.875 kB / 0.5307 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.008981, allocations: 3.984 kB / 0.5307 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.009255, allocations: 317.3 kB / 0.531 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.009274, allocations: 19.86 kB / 0.531 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.009296, allocations: 4 kB / 0.531 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.465e-05/0.00934, allocations: 22.36 kB / 0.531 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.009389, allocations: 23.95 kB / 0.531 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.009403, allocations: 8 kB / 0.5311 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.394e-05/0.009487, allocations: 201 kB / 0.5312 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.009487, allocations: 0 / 0.5312 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001766/0.009664, allocations: 63.88 kB / 0.5313 GB, free: 7.418 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.0001217/0.009785, allocations: 124.6 kB / 0.5314 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001767/0.009962, allocations: 223.1 kB / 0.5316 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.009964, allocations: 4 kB / 0.5316 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.002e-05/0.01005, allocations: 147.4 kB / 0.5318 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.01023, allocations: 37.89 kB / 0.5318 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.01066, allocations: 422.1 kB / 0.5322 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.301e-05/0.0107, allocations: 83.81 kB / 0.5323 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.74e-05/0.01075, allocations: 20.86 kB / 0.5323 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.01087, allocations: 122.2 kB / 0.5324 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.01087, allocations: 0 / 0.5324 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of Templates: time 0.004611/0.01548, allocations: 3.191 MB / 0.5356 GB, free: 3.141 MB / 0.4948 GB " [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.76825650408864]