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.001461/0.001461, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001386/0.001386, allocations: 215.9 kB / 22.25 MB, free: 5.125 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.364/1.364, allocations: 230.6 MB / 256 MB, free: 7.996 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.8085/0.8085, allocations: 134 MB / 446.4 MB, free: 10.21 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="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: 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.001863/0.001863, allocations: 62.91 kB / 0.6185 GB, free: 7.246 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1673, allocations: 85.92 MB / 0.7024 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003728/0.171, allocations: 1.983 MB / 0.7044 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.1723, allocations: 0.7558 MB / 0.7051 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.83e-05/0.1724, allocations: 7.938 kB / 0.7051 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.1727, allocations: 83.62 kB / 0.7052 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.1728, allocations: 87.64 kB / 0.7053 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005579/0.1734, allocations: 195.5 kB / 0.7055 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.1737, allocations: 251.5 kB / 0.7057 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.1739, allocations: 53.92 kB / 0.7058 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.174, allocations: 123.6 kB / 0.7059 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.1742, allocations: 159.5 kB / 0.706 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.772e-05/0.1743, allocations: 20 kB / 0.7061 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.1744, allocations: 99.92 kB / 0.7061 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.117e-05/0.1745, allocations: 63.66 kB / 0.7062 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.1746, allocations: 107.3 kB / 0.7063 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003981/0.175, allocations: 306.8 kB / 0.7066 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.175, allocations: 0 / 0.7066 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.175, allocations: 0 / 0.7066 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.1751, allocations: 4 kB / 0.7066 GB, free: 13.11 MB / 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.0008454/0.1759, allocations: 0.5141 MB / 0.7071 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1759, allocations: 12.03 kB / 0.7071 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.156e-05/0.176, allocations: 46.73 kB / 0.7072 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.176, allocations: 28.75 kB / 0.7072 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000475/0.1765, allocations: 249.2 kB / 0.7074 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.1766, allocations: 19.94 kB / 0.7074 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.1766, allocations: 12 kB / 0.7075 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003908/0.177, allocations: 227.1 kB / 0.7077 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.177, allocations: 3.938 kB / 0.7077 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.177, allocations: 4 kB / 0.7077 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.177, allocations: 4 kB / 0.7077 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002428/0.1772, allocations: 132.3 kB / 0.7078 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000857/0.1781, allocations: 0.6488 MB / 0.7084 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/0.1785, allocations: 154.6 kB / 0.7086 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.1786, allocations: 80.83 kB / 0.7087 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.1786, allocations: 8 kB / 0.7087 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002773/0.1789, allocations: 165 kB / 0.7088 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.1789, allocations: 0 / 0.7088 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.000666/0.1796, allocations: 377.8 kB / 0.7092 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.094e-05/0.1796, allocations: 136.5 kB / 0.7093 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.1799, allocations: 281.8 kB / 0.7096 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.18, allocations: 33.7 kB / 0.7096 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.1801, allocations: 164.3 kB / 0.7098 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/0.1801, allocations: 39.69 kB / 0.7098 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.79e-05/0.1802, allocations: 37.72 kB / 0.7099 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1804, allocations: 342.7 kB / 0.7102 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.1805, allocations: 83.97 kB / 0.7103 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.1807, allocations: 137.8 kB / 0.7104 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.1811, allocations: 242.7 kB / 0.7106 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1811, allocations: 4.031 kB / 0.7106 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004945/0.1816, allocations: 337 kB / 0.711 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.1816, allocations: 37.7 kB / 0.711 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1816, allocations: 4.078 kB / 0.711 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1816, allocations: 7.938 kB / 0.711 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.1817, allocations: 19.98 kB / 0.711 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1817, allocations: 7.875 kB / 0.711 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.1819, allocations: 31.97 kB / 0.7111 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.1819, allocations: 8 kB / 0.7111 GB, free: 8.238 MB / 0.5294 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.0001801/0.1821, allocations: 190.5 kB / 0.7112 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.1821, allocations: 27.86 kB / 0.7113 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.108e-05/0.1821, allocations: 29.77 kB / 0.7113 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1821, allocations: 0 / 0.7113 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.1822, allocations: 3.938 kB / 0.7113 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1822, allocations: 4 kB / 0.7113 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.1824, allocations: 268.5 kB / 0.7116 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1824, allocations: 0 / 0.7116 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.341e-05/0.1825, allocations: 15.98 kB / 0.7116 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1825, allocations: 0 / 0.7116 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.1825, allocations: 4 kB / 0.7116 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1825, allocations: 4 kB / 0.7116 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.1825, allocations: 11.86 kB / 0.7116 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007024/0.1832, allocations: 470.5 kB / 0.712 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.1833, allocations: 15.89 kB / 0.7121 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.1833, allocations: 12 kB / 0.7121 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.304e-05/0.1834, allocations: 7.984 kB / 0.7121 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.497e-05/0.1835, allocations: 35.89 kB / 0.7121 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.1835, allocations: 7.984 kB / 0.7121 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001981/0.1837, allocations: 201.2 kB / 0.7123 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1837, allocations: 4.062 kB / 0.7123 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002671/0.184, allocations: 55.89 kB / 0.7124 GB, free: 6.816 MB / 0.5294 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.001088/0.1851, allocations: 1.024 MB / 0.7134 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000448/0.1855, allocations: 259.1 kB / 0.7136 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1855, allocations: 3.938 kB / 0.7136 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.1857, allocations: 151.4 kB / 0.7138 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.186, allocations: 44.72 kB / 0.7138 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.1894, allocations: 2.753 MB / 0.7165 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.1898, allocations: 0.7437 MB / 0.7172 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.473e-05/0.1899, allocations: 21.47 kB / 0.7172 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.19, allocations: 75.42 kB / 0.7173 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.19, allocations: 0 / 0.7173 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03433/0.2243, allocations: 5.586 MB / 0.7228 GB, free: 12.14 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/10.95, allocations: 9.469 kB / 0.7228 GB, free: 12.13 MB / 0.545 GB " [Timeout remaining time 649] (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: 14.365438763983548] Failed to read output from testmodel.py, exit status != 0: 11.049980027135462 11.066309475 10.888236003 Calling exit ...