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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 118.9 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 193.2 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.066/1.066, allocations: 175.7 MB / 479.1 MB, free: 3.438 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001919/0.001919, allocations: 75.7 kB / 0.6663 GB, free: 10.88 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1821, allocations: 94.54 MB / 0.7587 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003593/0.1857, allocations: 1.958 MB / 0.7606 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.187, allocations: 0.713 MB / 0.7613 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.1871, allocations: 4 kB / 0.7613 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.1874, allocations: 83.62 kB / 0.7613 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.1875, allocations: 87.64 kB / 0.7614 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006032/0.1881, allocations: 190.3 kB / 0.7616 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003369/0.1885, allocations: 259.5 kB / 0.7619 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.1886, allocations: 57.88 kB / 0.7619 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.1888, allocations: 119.6 kB / 0.762 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.189, allocations: 163.5 kB / 0.7622 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.189, allocations: 20 kB / 0.7622 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.1892, allocations: 95.88 kB / 0.7623 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.379e-05/0.1893, allocations: 55.77 kB / 0.7623 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.1894, allocations: 107.3 kB / 0.7625 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004112/0.1898, allocations: 306.8 kB / 0.7627 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.1898, allocations: 7.984 kB / 0.7628 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1898, allocations: 0 / 0.7628 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.1898, allocations: 4 kB / 0.7628 GB, free: 12.88 MB / 0.5762 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.0009381/0.1908, allocations: 0.5816 MB / 0.7633 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1908, allocations: 12.03 kB / 0.7633 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.542e-05/0.1909, allocations: 28.75 kB / 0.7634 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005219/0.1914, allocations: 311 kB / 0.7637 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.1914, allocations: 16.12 kB / 0.7637 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.838e-05/0.1915, allocations: 12 kB / 0.7637 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/0.1919, allocations: 227.7 kB / 0.7639 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1919, allocations: 0 / 0.7639 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.1919, allocations: 4 kB / 0.7639 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.1919, allocations: 4 kB / 0.7639 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002692/0.1922, allocations: 136.3 kB / 0.764 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000915/0.1931, allocations: 0.6848 MB / 0.7647 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.1935, allocations: 150.5 kB / 0.7649 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.1937, allocations: 84.95 kB / 0.7649 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.1937, allocations: 11.94 kB / 0.7649 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002943/0.194, allocations: 170.6 kB / 0.7651 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.194, allocations: 0 / 0.7651 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007443/0.1947, allocations: 379 kB / 0.7655 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.611e-05/0.1948, allocations: 132.5 kB / 0.7656 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003195/0.1951, allocations: 290.7 kB / 0.7659 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.1952, allocations: 25.7 kB / 0.7659 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.1953, allocations: 160.4 kB / 0.7661 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.1954, allocations: 39.64 kB / 0.7661 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.932e-05/0.1954, allocations: 41.7 kB / 0.7661 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1956, allocations: 342.8 kB / 0.7665 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.1958, allocations: 83.95 kB / 0.7665 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.196, allocations: 139.2 kB / 0.7667 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.1964, allocations: 232.2 kB / 0.7669 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1964, allocations: 8.016 kB / 0.7669 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005472/0.1969, allocations: 335 kB / 0.7672 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.936e-05/0.197, allocations: 37.69 kB / 0.7673 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.197, allocations: 0 / 0.7673 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.197, allocations: 4 kB / 0.7673 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.1971, allocations: 23.97 kB / 0.7673 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.1971, allocations: 11.92 kB / 0.7673 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.1973, allocations: 35.86 kB / 0.7673 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.1973, allocations: 8 kB / 0.7673 GB, free: 7.848 MB / 0.5762 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.0001958/0.1975, allocations: 183.5 kB / 0.7675 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.1975, allocations: 27.86 kB / 0.7675 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.981e-05/0.1976, allocations: 33.77 kB / 0.7676 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1976, allocations: 0 / 0.7676 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.1976, allocations: 8 kB / 0.7676 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1976, allocations: 7.938 kB / 0.7676 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.1979, allocations: 293.4 kB / 0.7679 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1979, allocations: 0 / 0.7679 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.198, allocations: 19.92 kB / 0.7679 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.198, allocations: 0 / 0.7679 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.198, allocations: 8 kB / 0.7679 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.198, allocations: 0 / 0.7679 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.198, allocations: 0 / 0.7679 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007688/0.1988, allocations: 467.9 kB / 0.7683 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.021e-05/0.1989, allocations: 96.94 kB / 0.7684 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.1989, allocations: 12.19 kB / 0.7684 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.199, allocations: 15.98 kB / 0.7685 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.586e-05/0.1991, allocations: 31.78 kB / 0.7685 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.1992, allocations: 7.984 kB / 0.7685 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002084/0.1994, allocations: 202 kB / 0.7687 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1994, allocations: 4.062 kB / 0.7687 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002906/0.1997, allocations: 59.89 kB / 0.7687 GB, free: 6.289 MB / 0.5762 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.0002118/0.1999, allocations: 130.8 kB / 0.7689 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000494/0.2004, allocations: 259.2 kB / 0.7691 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2004, allocations: 0 / 0.7691 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.2006, allocations: 159.5 kB / 0.7693 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.2009, allocations: 34.72 kB / 0.7693 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.2019, allocations: 0.51 MB / 0.7698 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.2023, allocations: 0.7475 MB / 0.7705 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.81e-05/0.2024, allocations: 23.42 kB / 0.7706 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.2024, allocations: 0 / 0.7706 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of Templates: time 0.005671/0.2081, allocations: 3.005 MB / 0.7735 GB, free: 1.355 MB / 0.5762 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.286153310909867] Failed to read output from testmodel.py, exit status != 0: 0.21540459198877215 0.229050258 0.036351661 Calling exit ...