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.00128/0.00128, allocations: 79.36 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001372/0.001372, allocations: 161.8 kB / 22.45 MB, free: 5.375 MB / 14.72 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.423/1.423, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 1.218/1.218, allocations: 154.6 MB / 413.8 MB, free: 5.223 MB / 382.1 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 178] 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 2.244e-06/2.244e-06, allocations: 0 / 0.6186 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.909e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003861/0.00389, allocations: 1.922 MB / 0.6205 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.005537, allocations: 0.7034 MB / 0.6211 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.005714, allocations: 4 kB / 0.6211 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.006007, allocations: 88.34 kB / 0.6212 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.006185, allocations: 87.58 kB / 0.6213 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007321/0.006917, allocations: 183.5 kB / 0.6215 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003804/0.007297, allocations: 267.3 kB / 0.6217 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.007485, allocations: 50.17 kB / 0.6218 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002525/0.007737, allocations: 151.7 kB / 0.6219 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.007977, allocations: 135.7 kB / 0.6221 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.711e-05/0.008024, allocations: 20 kB / 0.6221 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.00819, allocations: 91.92 kB / 0.6222 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.522e-05/0.008285, allocations: 59.77 kB / 0.6222 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.008388, allocations: 67.77 kB / 0.6223 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00047/0.008858, allocations: 331 kB / 0.6226 GB, free: 408 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.008863, allocations: 0 / 0.6226 GB, free: 408 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.021e-06/0.008864, allocations: 4 kB / 0.6226 GB, free: 404 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.008872, allocations: 0 / 0.6226 GB, free: 404 kB / 0.5294 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.001036/0.009908, allocations: 0.5025 MB / 0.6231 GB, free: 15.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.009945, allocations: 12.03 kB / 0.6231 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.731e-05/0.01002, allocations: 36.72 kB / 0.6231 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005275/0.01055, allocations: 244.9 kB / 0.6234 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.01058, allocations: 16.38 kB / 0.6234 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.01061, allocations: 16.36 kB / 0.6234 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004797/0.01109, allocations: 310 kB / 0.6237 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.0111, allocations: 192 / 0.6237 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.01113, allocations: 8.125 kB / 0.6237 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.01114, allocations: 7.938 kB / 0.6237 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.01143, allocations: 170 kB / 0.6239 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.01246, allocations: 0.5791 MB / 0.6244 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004265/0.01288, allocations: 184.2 kB / 0.6246 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.01307, allocations: 118.7 kB / 0.6247 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.0131, allocations: 0 / 0.6247 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003625/0.01347, allocations: 209.3 kB / 0.6249 GB, free: 13.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.253e-06/0.01347, allocations: 0 / 0.6249 GB, free: 13.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0008596/0.01433, allocations: 434.5 kB / 0.6254 GB, free: 13.37 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.746e-05/0.01442, allocations: 140.5 kB / 0.6255 GB, free: 13.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.01471, allocations: 265.8 kB / 0.6257 GB, free: 12.94 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.01475, allocations: 33.7 kB / 0.6258 GB, free: 12.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.01489, allocations: 160.3 kB / 0.6259 GB, free: 12.74 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.704e-05/0.01493, allocations: 43.69 kB / 0.626 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.677e-05/0.01501, allocations: 41.67 kB / 0.626 GB, free: 12.65 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.01518, allocations: 338.8 kB / 0.6263 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.01538, allocations: 113.7 kB / 0.6264 GB, free: 12.19 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.01565, allocations: 220.6 kB / 0.6266 GB, free: 11.94 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.01603, allocations: 240.4 kB / 0.6269 GB, free: 11.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01603, allocations: 0 / 0.6269 GB, free: 11.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005967/0.01663, allocations: 394.4 kB / 0.6273 GB, free: 11.29 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.124e-05/0.01668, allocations: 37.69 kB / 0.6273 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.01669, allocations: 0 / 0.6273 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.01671, allocations: 4 kB / 0.6273 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.01684, allocations: 19.98 kB / 0.6273 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.01686, allocations: 3.938 kB / 0.6273 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.01698, allocations: 31.81 kB / 0.6273 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.017, allocations: 12.09 kB / 0.6274 GB, free: 11.17 MB / 0.545 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.0001959/0.0172, allocations: 185.4 kB / 0.6275 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.01725, allocations: 31.8 kB / 0.6276 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.091e-05/0.01731, allocations: 29.77 kB / 0.6276 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01731, allocations: 0 / 0.6276 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.01732, allocations: 0 / 0.6276 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01732, allocations: 0 / 0.6276 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.01756, allocations: 201.2 kB / 0.6278 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01756, allocations: 0 / 0.6278 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.01767, allocations: 23.92 kB / 0.6278 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.01767, allocations: 3.938 kB / 0.6278 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.0177, allocations: 8 kB / 0.6278 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.0177, allocations: 0 / 0.6278 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.0177, allocations: 0 / 0.6278 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008391/0.01854, allocations: 0.5252 MB / 0.6283 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.881e-05/0.01858, allocations: 27.77 kB / 0.6284 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.816e-05/0.01862, allocations: 12 kB / 0.6284 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.01874, allocations: 20.03 kB / 0.6284 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.772e-05/0.01883, allocations: 31.89 kB / 0.6284 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.01885, allocations: 4 kB / 0.6284 GB, free: 10 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001961/0.01905, allocations: 193.2 kB / 0.6286 GB, free: 9.812 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01905, allocations: 0 / 0.6286 GB, free: 9.812 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002963/0.01934, allocations: 60.08 kB / 0.6287 GB, free: 9.754 MB / 0.545 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.0002301/0.01957, allocations: 127.2 kB / 0.6288 GB, free: 9.621 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005567/0.02013, allocations: 337.1 kB / 0.6291 GB, free: 9.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02013, allocations: 0 / 0.6291 GB, free: 9.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.02041, allocations: 189 kB / 0.6293 GB, free: 9.066 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.02072, allocations: 28.48 kB / 0.6293 GB, free: 9.039 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009245/0.02164, allocations: 488.6 kB / 0.6298 GB, free: 8.527 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.0218, allocations: 136.7 kB / 0.6299 GB, free: 8.371 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.952e-05/0.02188, allocations: 17.48 kB / 0.6299 GB, free: 8.355 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.508e-05/0.02194, allocations: 20.5 kB / 0.6299 GB, free: 8.336 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.02194, allocations: 0 / 0.6299 GB, free: 8.336 MB / 0.545 GB Notification: Performance of Templates: time 0.00799/0.02993, allocations: 2.863 MB / 0.6327 GB, free: 5.531 MB / 0.545 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.766898196190596] Failed to read output from testmodel.py, exit status != 0: 0.03913436830043793 0.055637887000000004 0.043415823000000006 Calling exit ...