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.001324/0.001324, allocations: 116.7 kB / 17.08 MB, free: 5.992 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.001656/0.001656, allocations: 185.2 kB / 20.02 MB, free: 3.066 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.417/1.417, allocations: 222.9 MB / 245.7 MB, free: 4.305 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.179/1.179, allocations: 173.4 MB / 471.3 MB, free: 6.605 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.001928/0.001928, allocations: 69.42 kB / 0.649 GB, free: 22.94 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1573, allocations: 89.53 MB / 0.7364 GB, free: 3.785 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.00316/0.1605, allocations: 1.954 MB / 0.7383 GB, free: 1.816 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.1617, allocations: 0.7013 MB / 0.739 GB, free: 1.113 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.1618, allocations: 7.938 kB / 0.739 GB, free: 1.105 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.1621, allocations: 79.62 kB / 0.7391 GB, free: 1.027 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.1622, allocations: 91.62 kB / 0.7392 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005561/0.1628, allocations: 189.9 kB / 0.7393 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003084/0.1631, allocations: 263.5 kB / 0.7396 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.1633, allocations: 69.88 kB / 0.7397 GB, free: 436 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.1634, allocations: 123.6 kB / 0.7398 GB, free: 312 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.1636, allocations: 147.5 kB / 0.7399 GB, free: 164 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.244e-05/0.1637, allocations: 20 kB / 0.7399 GB, free: 144 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.1639, allocations: 95.86 kB / 0.74 GB, free: 48 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.668e-05/0.164, allocations: 55.86 kB / 0.7401 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.1641, allocations: 111.2 kB / 0.7402 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003873/0.1645, allocations: 310.8 kB / 0.7405 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1645, allocations: 0 / 0.7405 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1645, allocations: 0 / 0.7405 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.1645, allocations: 4 kB / 0.7405 GB, free: 15.57 MB / 0.5606 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.0008849/0.1654, allocations: 0.5855 MB / 0.7411 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.1654, allocations: 8.031 kB / 0.7411 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.685e-05/0.1655, allocations: 32.75 kB / 0.7411 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005064/0.166, allocations: 311 kB / 0.7414 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.1661, allocations: 16.12 kB / 0.7414 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.239e-05/0.1661, allocations: 16 kB / 0.7414 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.1665, allocations: 223.7 kB / 0.7416 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.1665, allocations: 0 / 0.7416 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.1666, allocations: 8 kB / 0.7416 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.1666, allocations: 4 kB / 0.7416 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002558/0.1668, allocations: 128.3 kB / 0.7418 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008698/0.1677, allocations: 0.6886 MB / 0.7424 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.1681, allocations: 162.5 kB / 0.7426 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.1683, allocations: 101 kB / 0.7427 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.1683, allocations: 7.938 kB / 0.7427 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/0.1686, allocations: 161 kB / 0.7429 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.1686, allocations: 0 / 0.7429 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0007149/0.1693, allocations: 380.7 kB / 0.7432 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.072e-05/0.1695, allocations: 140.5 kB / 0.7434 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.1697, allocations: 286.7 kB / 0.7436 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.1698, allocations: 29.7 kB / 0.7437 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.1699, allocations: 156.3 kB / 0.7438 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.17, allocations: 43.67 kB / 0.7438 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.686e-05/0.17, allocations: 41.7 kB / 0.7439 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1702, allocations: 338.8 kB / 0.7442 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.1704, allocations: 83.97 kB / 0.7443 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.1706, allocations: 137.1 kB / 0.7444 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.171, allocations: 236.6 kB / 0.7446 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.171, allocations: 32 / 0.7446 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005252/0.1715, allocations: 342.9 kB / 0.745 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.37e-05/0.1716, allocations: 39.89 kB / 0.745 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1716, allocations: 0 / 0.745 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1716, allocations: 4 kB / 0.745 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.1717, allocations: 23.97 kB / 0.745 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.1717, allocations: 7.984 kB / 0.745 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.1719, allocations: 31.91 kB / 0.7451 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.1719, allocations: 12 kB / 0.7451 GB, free: 10.52 MB / 0.5606 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.0001733/0.1721, allocations: 186.7 kB / 0.7453 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.1721, allocations: 27.86 kB / 0.7453 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.877e-05/0.1722, allocations: 29.83 kB / 0.7453 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1722, allocations: 3.938 kB / 0.7453 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1722, allocations: 4 kB / 0.7453 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.1722, allocations: 7.922 kB / 0.7453 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.1725, allocations: 293.4 kB / 0.7456 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1725, allocations: 0 / 0.7456 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.1726, allocations: 15.98 kB / 0.7456 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1726, allocations: 0 / 0.7456 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.1727, allocations: 7.984 kB / 0.7456 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1727, allocations: 0 / 0.7456 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.1727, allocations: 3.938 kB / 0.7456 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007558/0.1734, allocations: 467.9 kB / 0.7461 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.909e-05/0.1735, allocations: 100.9 kB / 0.7462 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.1736, allocations: 8.188 kB / 0.7462 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.1737, allocations: 11.98 kB / 0.7462 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.936e-05/0.1738, allocations: 31.84 kB / 0.7462 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.1738, allocations: 8 kB / 0.7462 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001961/0.174, allocations: 201.9 kB / 0.7464 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.174, allocations: 0 / 0.7464 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002812/0.1743, allocations: 63.95 kB / 0.7465 GB, free: 8.973 MB / 0.5606 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.0001842/0.1745, allocations: 131.1 kB / 0.7466 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005057/0.175, allocations: 290.2 kB / 0.7469 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.175, allocations: 4 kB / 0.7469 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.1752, allocations: 187.5 kB / 0.7471 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.1755, allocations: 32.55 kB / 0.7471 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009994/0.1766, allocations: 0.5022 MB / 0.7476 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.1769, allocations: 0.7514 MB / 0.7483 GB, free: 7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.177, allocations: 15.44 kB / 0.7483 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.177, allocations: 4 kB / 0.7484 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.005304/0.1823, allocations: 3.002 MB / 0.7513 GB, free: 3.984 MB / 0.5606 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.330381236039102] Failed to read output from testmodel.py, exit status != 0: 0.1886113730724901 0.20160449500000002 0.034615114 Calling exit ...