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.001234/0.001234, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001339/0.001339, allocations: 215 kB / 20.13 MB, free: 2.949 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.378/1.378, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.8224/0.8224, allocations: 133.9 MB / 443.5 MB, free: 13.88 MB / 350.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.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: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 70.03 kB / 0.6141 GB, free: 38.38 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1477, allocations: 85.85 MB / 0.6979 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003173/0.1509, allocations: 1.97 MB / 0.6999 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.1522, allocations: 0.7476 MB / 0.7006 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.1523, allocations: 6.75 kB / 0.7006 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.1525, allocations: 90.31 kB / 0.7007 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.1526, allocations: 88.38 kB / 0.7008 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.1532, allocations: 186.2 kB / 0.7009 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000296/0.1535, allocations: 253.7 kB / 0.7012 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.1536, allocations: 57.66 kB / 0.7012 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.1537, allocations: 119.7 kB / 0.7013 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.1539, allocations: 162.9 kB / 0.7015 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.154, allocations: 20.62 kB / 0.7015 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.1541, allocations: 101.5 kB / 0.7016 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.558e-05/0.1542, allocations: 57.53 kB / 0.7017 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.1543, allocations: 109.3 kB / 0.7018 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.1547, allocations: 306.5 kB / 0.7021 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1547, allocations: 0 / 0.7021 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1547, allocations: 0 / 0.7021 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.1547, allocations: 3.938 kB / 0.7021 GB, free: 10.59 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.0009006/0.1556, allocations: 0.5902 MB / 0.7027 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1556, allocations: 9.703 kB / 0.7027 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.793e-05/0.1556, allocations: 4.188 kB / 0.7027 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.64e-05/0.1557, allocations: 46.73 kB / 0.7027 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.152e-05/0.1557, allocations: 32.75 kB / 0.7027 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/0.1562, allocations: 314.8 kB / 0.703 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.1562, allocations: 11.94 kB / 0.7031 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.1563, allocations: 16 kB / 0.7031 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003889/0.1567, allocations: 219.6 kB / 0.7033 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1567, allocations: 0 / 0.7033 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.1567, allocations: 12 kB / 0.7033 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1567, allocations: 4 kB / 0.7033 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/0.1569, allocations: 124.4 kB / 0.7034 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008532/0.1578, allocations: 0.6848 MB / 0.7041 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.1581, allocations: 154.5 kB / 0.7042 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.1583, allocations: 92.98 kB / 0.7043 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.1583, allocations: 3.938 kB / 0.7043 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002776/0.1586, allocations: 173 kB / 0.7045 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.1586, allocations: 0 / 0.7045 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006974/0.1593, allocations: 375 kB / 0.7048 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.91e-05/0.1594, allocations: 136.5 kB / 0.705 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.1597, allocations: 278.7 kB / 0.7052 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.1597, allocations: 33.7 kB / 0.7053 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.1598, allocations: 156.3 kB / 0.7054 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.1599, allocations: 47.67 kB / 0.7055 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.032e-05/0.1599, allocations: 41.7 kB / 0.7055 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1601, allocations: 338.8 kB / 0.7058 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.1603, allocations: 87.95 kB / 0.7059 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.1605, allocations: 133 kB / 0.706 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.1608, allocations: 243.7 kB / 0.7063 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1608, allocations: 0 / 0.7063 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005005/0.1613, allocations: 344.9 kB / 0.7066 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/0.1613, allocations: 42.94 kB / 0.7066 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1613, allocations: 3.938 kB / 0.7066 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1614, allocations: 0 / 0.7066 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.1615, allocations: 23.98 kB / 0.7067 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1615, allocations: 3.938 kB / 0.7067 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.1616, allocations: 23.88 kB / 0.7067 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.1616, allocations: 11.98 kB / 0.7067 GB, free: 5.574 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.0001763/0.1618, allocations: 196.2 kB / 0.7069 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.1618, allocations: 23.86 kB / 0.7069 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.249e-05/0.1619, allocations: 25.84 kB / 0.7069 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1619, allocations: 3.984 kB / 0.7069 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1619, allocations: 3.938 kB / 0.7069 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1619, allocations: 0 / 0.7069 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.1622, allocations: 285.4 kB / 0.7072 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1622, allocations: 0 / 0.7072 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.1623, allocations: 23.98 kB / 0.7072 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1623, allocations: 0 / 0.7072 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.1623, allocations: 11.97 kB / 0.7073 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1623, allocations: 0 / 0.7073 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.1623, allocations: 7.938 kB / 0.7073 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007223/0.163, allocations: 461.2 kB / 0.7077 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.172e-05/0.1631, allocations: 112.9 kB / 0.7078 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.1631, allocations: 8.188 kB / 0.7078 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.1632, allocations: 11.98 kB / 0.7078 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/0.1633, allocations: 27.84 kB / 0.7079 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.1633, allocations: 12 kB / 0.7079 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001965/0.1635, allocations: 201.9 kB / 0.7081 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1635, allocations: 0 / 0.7081 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002631/0.1638, allocations: 51.94 kB / 0.7081 GB, free: 4.031 MB / 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.001095/0.1649, allocations: 1.026 MB / 0.7091 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000457/0.1653, allocations: 271.2 kB / 0.7094 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1653, allocations: 0 / 0.7094 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.1655, allocations: 151.4 kB / 0.7095 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.1658, allocations: 32.48 kB / 0.7095 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/0.1691, allocations: 2.773 MB / 0.7123 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.1695, allocations: 0.7514 MB / 0.713 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.013e-05/0.1696, allocations: 17.55 kB / 0.713 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.1697, allocations: 71.41 kB / 0.7131 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1697, allocations: 4 kB / 0.7131 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.1933, allocations: 5.419 MB / 0.7184 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.029/8.223, allocations: 12 kB / 0.7184 GB, free: 9.465 MB / 0.5294 GB " [Timeout remaining time 651] (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.763906398031395] Failed to read output from testmodel.py, exit status != 0: 8.600422427000012 8.359893882 8.202376401 Calling exit ...