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.001021/0.001021, 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.001058/0.001058, 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.126/1.126, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.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.8243/0.8243, allocations: 154.6 MB / 414.8 MB, free: 0.5195 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 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.493e-06/1.493e-06, allocations: 0 / 480 MB, free: 6.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.657e-05, allocations: 4.703 kB / 480 MB, free: 6.906 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.006429/0.006455, allocations: 2.008 MB / 482 MB, free: 4.93 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004304/0.01076, allocations: 0.7365 MB / 482.8 MB, free: 4.195 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.01093, allocations: 4.812 kB / 482.8 MB, free: 4.191 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.01119, allocations: 76.25 kB / 482.9 MB, free: 4.117 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.01134, allocations: 99.3 kB / 482.9 MB, free: 4.031 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005378/0.01188, allocations: 181.7 kB / 483.1 MB, free: 3.859 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.0122, allocations: 255.4 kB / 483.4 MB, free: 3.609 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.01234, allocations: 55.41 kB / 483.4 MB, free: 3.551 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.01255, allocations: 164.7 kB / 483.6 MB, free: 3.391 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.01273, allocations: 111.7 kB / 483.7 MB, free: 3.281 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.01277, allocations: 21.16 kB / 483.7 MB, free: 3.262 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.01295, allocations: 99.91 kB / 483.8 MB, free: 3.164 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.163e-05/0.01302, allocations: 55.78 kB / 483.9 MB, free: 3.109 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.27e-05/0.01309, allocations: 65.58 kB / 483.9 MB, free: 3.047 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003337/0.01643, allocations: 227.2 kB / 484.2 MB, free: 2.824 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.01643, allocations: 0 / 484.2 MB, free: 2.824 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01643, allocations: 0 / 484.2 MB, free: 2.824 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.01644, allocations: 0 / 484.2 MB, free: 2.824 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.0005724/0.01701, allocations: 481.3 kB / 484.6 MB, free: 2.328 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.01705, allocations: 12.03 kB / 484.6 MB, free: 2.316 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/0.01711, allocations: 29.41 kB / 484.7 MB, free: 2.289 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.01738, allocations: 210.3 kB / 484.9 MB, free: 2.059 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.0174, allocations: 12.31 kB / 484.9 MB, free: 2.047 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.01743, allocations: 21.25 kB / 484.9 MB, free: 2.027 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.01771, allocations: 251.3 kB / 485.2 MB, free: 1.738 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.01772, allocations: 1.094 kB / 485.2 MB, free: 1.738 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.01774, allocations: 12.38 kB / 485.2 MB, free: 1.727 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.01775, allocations: 4.562 kB / 485.2 MB, free: 1.723 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.14e-05/0.01784, allocations: 69.55 kB / 485.2 MB, free: 1.648 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005201/0.01836, allocations: 465 kB / 485.7 MB, free: 1.172 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.0185, allocations: 136.7 kB / 485.8 MB, free: 1.023 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.499e-05/0.01856, allocations: 59.17 kB / 485.9 MB, free: 0.957 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.01857, allocations: 4 kB / 485.9 MB, free: 0.9531 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.01872, allocations: 150.3 kB / 486 MB, free: 0.7812 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.01872, allocations: 1.781 kB / 486 MB, free: 0.7812 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002395/0.01896, allocations: 208.6 kB / 486.2 MB, free: 0.5547 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.01902, allocations: 140.5 kB / 486.4 MB, free: 396 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.02023, allocations: 225 kB / 486.6 MB, free: 164 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.02025, allocations: 34.89 kB / 486.6 MB, free: 124 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.02034, allocations: 137 kB / 486.8 MB, free: 15.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.02038, allocations: 43.62 kB / 486.8 MB, free: 15.94 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-05/0.02044, allocations: 41.69 kB / 486.8 MB, free: 15.89 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.02053, allocations: 335.8 kB / 487.2 MB, free: 15.55 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.434e-05/0.0206, allocations: 56.52 kB / 487.2 MB, free: 15.49 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.145e-05/0.02069, allocations: 142.8 kB / 487.4 MB, free: 15.32 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.02081, allocations: 146.4 kB / 487.5 MB, free: 15.15 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.02081, allocations: 0 / 487.5 MB, free: 15.15 MB / 458.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001887/0.021, allocations: 186 kB / 487.7 MB, free: 14.95 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/0.02104, allocations: 41.44 kB / 487.7 MB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.02105, allocations: 0 / 487.7 MB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.02106, allocations: 4 kB / 487.7 MB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.659e-05/0.02116, allocations: 26.47 kB / 487.8 MB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.02116, allocations: 9.438 kB / 487.8 MB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.818e-05/0.02124, allocations: 15.89 kB / 487.8 MB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.02126, allocations: 4 kB / 487.8 MB, free: 14.86 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 0.0001122/0.02137, allocations: 164.2 kB / 488 MB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.0214, allocations: 27.91 kB / 488 MB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/0.02144, allocations: 21.78 kB / 488 MB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.02144, allocations: 3.984 kB / 488 MB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.02145, allocations: 4.75 kB / 488 MB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.02145, allocations: 0 / 488 MB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.0216, allocations: 130.6 kB / 488.1 MB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.0216, allocations: 0 / 488.1 MB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.523e-05/0.02167, allocations: 21.08 kB / 488.2 MB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.02167, allocations: 0 / 488.2 MB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.02169, allocations: 8 kB / 488.2 MB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.02169, allocations: 5.062 kB / 488.2 MB, free: 14.44 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.02169, allocations: 0 / 488.2 MB, free: 14.44 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.02198, allocations: 266.4 kB / 488.4 MB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/0.022, allocations: 25.11 kB / 488.5 MB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.02203, allocations: 4 kB / 488.5 MB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.395e-05/0.0221, allocations: 20.8 kB / 488.5 MB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.518e-05/0.02216, allocations: 27.89 kB / 488.5 MB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.02218, allocations: 0 / 488.5 MB, free: 14.07 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.507e-05/0.02226, allocations: 80.08 kB / 488.6 MB, free: 13.99 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02226, allocations: 0 / 488.6 MB, free: 13.99 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002405/0.0225, allocations: 59.89 kB / 488.6 MB, free: 13.93 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.0001382/0.02264, allocations: 113.6 kB / 488.8 MB, free: 13.82 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.02282, allocations: 213 kB / 489 MB, free: 13.58 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.02282, allocations: 4 kB / 489 MB, free: 13.58 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.557e-05/0.02291, allocations: 134.6 kB / 489.1 MB, free: 13.43 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.02307, allocations: 46.19 kB / 489.1 MB, free: 13.39 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004728/0.02354, allocations: 410.6 kB / 489.5 MB, free: 12.95 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.499e-05/0.02358, allocations: 87.61 kB / 489.6 MB, free: 12.85 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.567e-05/0.02364, allocations: 22.03 kB / 489.7 MB, free: 12.83 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.02376, allocations: 95.34 kB / 489.7 MB, free: 12.74 MB / 458.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02376, allocations: 0 / 489.7 MB, free: 12.74 MB / 458.7 MB Notification: Performance of Templates: time 0.005264/0.02903, allocations: 3.106 MB / 492.8 MB, free: 9.875 MB / 458.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.794216352980584]