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.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.001549/0.001549, allocations: 108.7 kB / 16.46 MB, free: 6.035 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.001541/0.001541, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.336/1.336, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7986/0.7986, allocations: 134 MB / 436.6 MB, free: 1.262 MB / 334.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/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: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 67.17 kB / 0.6051 GB, free: 15.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1569, allocations: 84.67 MB / 0.6878 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003139/0.16, allocations: 1.965 MB / 0.6897 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.1612, allocations: 0.7207 MB / 0.6904 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.862e-05/0.1613, allocations: 4 kB / 0.6904 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.1616, allocations: 91.62 kB / 0.6905 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.1617, allocations: 83.64 kB / 0.6906 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005893/0.1623, allocations: 190 kB / 0.6908 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003029/0.1626, allocations: 259.5 kB / 0.691 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.1627, allocations: 53.88 kB / 0.6911 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.1629, allocations: 115.6 kB / 0.6912 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.1631, allocations: 159.5 kB / 0.6913 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.1631, allocations: 24 kB / 0.6913 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.1632, allocations: 91.88 kB / 0.6914 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.149e-05/0.1633, allocations: 63.77 kB / 0.6915 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.1634, allocations: 103.4 kB / 0.6916 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003811/0.1638, allocations: 314.7 kB / 0.6919 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1638, allocations: 4 kB / 0.6919 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1638, allocations: 0 / 0.6919 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.1638, allocations: 0 / 0.6919 GB, free: 6.895 MB / 0.5137 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.0008453/0.1647, allocations: 0.5816 MB / 0.6925 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1647, allocations: 8.031 kB / 0.6925 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.514e-05/0.1648, allocations: 46.73 kB / 0.6925 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.1648, allocations: 36.75 kB / 0.6925 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000493/0.1653, allocations: 307 kB / 0.6928 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.1653, allocations: 11.94 kB / 0.6929 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.1654, allocations: 16 kB / 0.6929 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.1658, allocations: 223.1 kB / 0.6931 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1658, allocations: 0 / 0.6931 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.1658, allocations: 8 kB / 0.6931 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1658, allocations: 7.984 kB / 0.6931 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.166, allocations: 136.3 kB / 0.6932 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008314/0.1669, allocations: 0.6809 MB / 0.6939 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.1672, allocations: 154.5 kB / 0.694 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.1673, allocations: 89.08 kB / 0.6941 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.1674, allocations: 7.875 kB / 0.6941 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002662/0.1676, allocations: 173 kB / 0.6943 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.1676, allocations: 0 / 0.6943 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006569/0.1683, allocations: 377.8 kB / 0.6947 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.491e-05/0.1684, allocations: 140.5 kB / 0.6948 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.1686, allocations: 274.7 kB / 0.6951 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.1687, allocations: 33.7 kB / 0.6951 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.1688, allocations: 156.3 kB / 0.6952 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.1688, allocations: 43.64 kB / 0.6953 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.889e-05/0.1689, allocations: 41.7 kB / 0.6953 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.169, allocations: 338.8 kB / 0.6956 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.1692, allocations: 95.95 kB / 0.6957 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.1694, allocations: 129.8 kB / 0.6959 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.1697, allocations: 238.8 kB / 0.6961 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1697, allocations: 7.938 kB / 0.6961 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004823/0.1702, allocations: 333.6 kB / 0.6964 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.056e-05/0.1702, allocations: 41.69 kB / 0.6964 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1702, allocations: 0 / 0.6964 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1703, allocations: 0 / 0.6964 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1704, allocations: 28.08 kB / 0.6965 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.1704, allocations: 11.86 kB / 0.6965 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.1705, allocations: 27.83 kB / 0.6965 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.1705, allocations: 12 kB / 0.6965 GB, free: 1.797 MB / 0.5137 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.0001701/0.1707, allocations: 186.6 kB / 0.6967 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.1707, allocations: 23.86 kB / 0.6967 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.256e-05/0.1708, allocations: 29.83 kB / 0.6968 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1708, allocations: 4 kB / 0.6968 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1708, allocations: 3.938 kB / 0.6968 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1708, allocations: 0 / 0.6968 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.1711, allocations: 297.4 kB / 0.697 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1711, allocations: 4 kB / 0.697 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.693e-05/0.1712, allocations: 15.94 kB / 0.6971 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1712, allocations: 0 / 0.6971 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.1712, allocations: 7.984 kB / 0.6971 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1712, allocations: 0 / 0.6971 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1712, allocations: 3.938 kB / 0.6971 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006798/0.1719, allocations: 470.4 kB / 0.6975 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-05/0.1719, allocations: 100.9 kB / 0.6976 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.172, allocations: 8.188 kB / 0.6976 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.1721, allocations: 11.98 kB / 0.6976 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.784e-05/0.1722, allocations: 35.78 kB / 0.6977 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.1722, allocations: 11.98 kB / 0.6977 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001819/0.1724, allocations: 202 kB / 0.6979 GB, free: 316 kB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1724, allocations: 0 / 0.6979 GB, free: 316 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002624/0.1726, allocations: 59.89 kB / 0.6979 GB, free: 256 kB / 0.5137 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.001074/0.1737, allocations: 1.026 MB / 0.6989 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004358/0.1741, allocations: 259.1 kB / 0.6992 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1741, allocations: 0 / 0.6992 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.1743, allocations: 155.3 kB / 0.6993 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.1746, allocations: 44.72 kB / 0.6994 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003436/0.1781, allocations: 2.779 MB / 0.7021 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.1784, allocations: 0.7514 MB / 0.7028 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.964e-05/0.1785, allocations: 17.53 kB / 0.7028 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.1786, allocations: 83.41 kB / 0.7029 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of SimCode: time 5.11e-07/0.1786, allocations: 0 / 0.7029 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.2074, allocations: 5.392 MB / 0.7082 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.764/7.971, allocations: 6.75 kB / 0.7082 GB, free: 5.684 MB / 0.5294 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Motors_Examples_IdealMotor_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Motors_Examples_IdealMotor.fmu > IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.307295463979244] Failed to read output from testmodel.py, exit status != 0: 8.041665428318083 8.063997666 7.895767418 Calling exit ...