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.0007763/0.0007763, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000803/0.000803, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8798/0.8798, allocations: 177.1 MB / 203.5 MB, free: 5.723 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-531:686: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-531:694: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.6932/0.6932, allocations: 154.6 MB / 414.5 MB, free: 0.7852 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.803e-06/1.803e-06, allocations: 0 / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.229e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003552/0.003585, allocations: 1.92 MB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.004915, allocations: 0.705 MB / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.005039, allocations: 7.938 kB / 0.6219 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.00529, allocations: 75.64 kB / 0.622 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.005437, allocations: 95.5 kB / 0.6221 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006073/0.006044, allocations: 194.3 kB / 0.6222 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003253/0.00637, allocations: 259.4 kB / 0.6225 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.006527, allocations: 50.11 kB / 0.6225 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004788/0.007006, allocations: 155.7 kB / 0.6227 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.007221, allocations: 139.7 kB / 0.6228 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.107e-05/0.007262, allocations: 23.94 kB / 0.6228 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.007416, allocations: 91.88 kB / 0.6229 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.695e-05/0.007503, allocations: 67.7 kB / 0.623 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.464e-05/0.007588, allocations: 59.83 kB / 0.623 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004211/0.008009, allocations: 331 kB / 0.6234 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.008012, allocations: 0 / 0.6234 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.333e-06/0.008014, allocations: 0 / 0.6234 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.00802, allocations: 0 / 0.6234 GB, free: 8.992 MB / 0.5886 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.0008559/0.008876, allocations: 0.518 MB / 0.6239 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.008917, allocations: 12.03 kB / 0.6239 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.537e-05/0.008992, allocations: 24.8 kB / 0.6239 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004988/0.009491, allocations: 244.9 kB / 0.6241 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.009525, allocations: 16.38 kB / 0.6242 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/0.009563, allocations: 12.38 kB / 0.6242 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004323/0.009995, allocations: 300.9 kB / 0.6245 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.01001, allocations: 4.188 kB / 0.6245 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.01003, allocations: 8.125 kB / 0.6245 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.01004, allocations: 4 kB / 0.6245 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002725/0.01031, allocations: 167 kB / 0.6246 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000845/0.01115, allocations: 0.5713 MB / 0.6252 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.01152, allocations: 180.2 kB / 0.6254 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.0117, allocations: 122.7 kB / 0.6255 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.01171, allocations: 3.938 kB / 0.6255 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002947/0.01201, allocations: 209.1 kB / 0.6257 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 2.554e-06/0.01201, allocations: 0 / 0.6257 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0007666/0.01278, allocations: 442.4 kB / 0.6261 GB, free: 5.977 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.01285, allocations: 136.5 kB / 0.6262 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.01311, allocations: 277.8 kB / 0.6265 GB, free: 5.535 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.01313, allocations: 25.7 kB / 0.6265 GB, free: 5.504 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.01325, allocations: 156.4 kB / 0.6267 GB, free: 5.348 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.01329, allocations: 43.64 kB / 0.6267 GB, free: 5.305 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-05/0.01336, allocations: 41.7 kB / 0.6268 GB, free: 5.258 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.01347, allocations: 334.8 kB / 0.6271 GB, free: 4.922 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.01366, allocations: 117.7 kB / 0.6272 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.01387, allocations: 214.2 kB / 0.6274 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.0142, allocations: 248.6 kB / 0.6276 GB, free: 4.289 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.0142, allocations: 0 / 0.6276 GB, free: 4.289 MB / 0.5886 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005363/0.01473, allocations: 380.7 kB / 0.628 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.212e-05/0.01478, allocations: 37.78 kB / 0.628 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.01478, allocations: 7.938 kB / 0.628 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.0148, allocations: 4.094 kB / 0.628 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.01493, allocations: 31.92 kB / 0.6281 GB, free: 3.812 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.01493, allocations: 0 / 0.6281 GB, free: 3.812 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.01505, allocations: 23.88 kB / 0.6281 GB, free: 3.789 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.01507, allocations: 8 kB / 0.6281 GB, free: 3.781 MB / 0.5886 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.0001718/0.01524, allocations: 192.4 kB / 0.6283 GB, free: 3.578 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.01528, allocations: 27.8 kB / 0.6283 GB, free: 3.551 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.545e-05/0.01532, allocations: 21.78 kB / 0.6283 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.01533, allocations: 11.98 kB / 0.6283 GB, free: 3.516 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.01533, allocations: 0 / 0.6283 GB, free: 3.516 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01534, allocations: 0 / 0.6283 GB, free: 3.516 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.01553, allocations: 209.1 kB / 0.6285 GB, free: 3.281 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01554, allocations: 0 / 0.6285 GB, free: 3.281 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.01564, allocations: 15.98 kB / 0.6286 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.01565, allocations: 3.938 kB / 0.6286 GB, free: 3.262 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.01568, allocations: 7.984 kB / 0.6286 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01568, allocations: 0 / 0.6286 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01568, allocations: 0 / 0.6286 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007532/0.01643, allocations: 0.5242 MB / 0.6291 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-05/0.01647, allocations: 31.75 kB / 0.6291 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.01652, allocations: 4 kB / 0.6291 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.612e-05/0.01661, allocations: 15.98 kB / 0.6291 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.562e-05/0.01671, allocations: 27.95 kB / 0.6292 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.01674, allocations: 7.984 kB / 0.6292 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001893/0.01692, allocations: 193.2 kB / 0.6293 GB, free: 2.422 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.1e-07/0.01692, allocations: 0 / 0.6293 GB, free: 2.422 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003437/0.01727, allocations: 59.95 kB / 0.6294 GB, free: 2.363 MB / 0.5886 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.0006626/0.01793, allocations: 133.8 kB / 0.6295 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000486/0.01842, allocations: 326.6 kB / 0.6298 GB, free: 1.883 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.01842, allocations: 0 / 0.6298 GB, free: 1.883 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.01862, allocations: 189 kB / 0.63 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.01894, allocations: 36.17 kB / 0.6301 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008673/0.01981, allocations: 0.5061 MB / 0.6305 GB, free: 1.102 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.01993, allocations: 140.7 kB / 0.6307 GB, free: 0.9375 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.01999, allocations: 20.5 kB / 0.6307 GB, free: 0.918 MB / 0.5886 GB Notification: Performance of SimCode: time 9.02e-07/0.01999, allocations: 0 / 0.6307 GB, free: 0.918 MB / 0.5886 GB Notification: Performance of Templates: time 0.004446/0.02443, allocations: 3.029 MB / 0.6337 GB, free: 13.89 MB / 0.6042 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.298353277146816] Failed to read output from testmodel.py, exit status != 0: 0.031129403971135616 0.038299261 0.028603043 Calling exit ...