Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.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.0008328/0.0008328, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.9204/0.9204, allocations: 177.2 MB / 199.4 MB, free: 5.941 MB / 186.7 MB " [Timeout remaining time 179] 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.001158/0.001158, allocations: 160.5 kB / 256 MB, free: 13.35 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02158/0.02158, allocations: 6.667 MB / 319 MB, free: 26.76 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.SynchronousMachines.SMEE_Slip2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 3.938 kB / 445.4 MB, free: 37.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184e-05/1.392e-05, allocations: 6.219 kB / 445.4 MB, free: 37.59 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.01183/0.01185, allocations: 22.01 MB / 467.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009365/0.02121, allocations: 7.78 MB / 475.2 MB, free: 7.668 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002176/0.02339, allocations: 207 kB / 475.4 MB, free: 7.465 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005187/0.02858, allocations: 6.028 MB / 481.5 MB, free: 1.426 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004189/0.03277, allocations: 2.827 MB / 484.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.03473, allocations: 1.625 MB / 485.9 MB, free: 12.96 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004821/0.03955, allocations: 7.628 MB / 493.5 MB, free: 5.309 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007399/0.04695, allocations: 9.015 MB / 0.4908 GB, free: 12.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004769/0.05172, allocations: 5.655 MB / 0.4963 GB, free: 6.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002987/0.0547, allocations: 3.613 MB / 0.4998 GB, free: 2.879 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007815/0.05549, allocations: 1.07 MB / 0.5009 GB, free: 1.809 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.057, allocations: 1.452 MB / 0.5023 GB, free: 364 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001027/0.05803, allocations: 2.186 MB / 0.5044 GB, free: 14.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001813/0.05984, allocations: 2.768 MB / 0.5071 GB, free: 11.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009303/0.06915, allocations: 14.71 MB / 0.5215 GB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.06915, allocations: 0 / 0.5215 GB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.06915, allocations: 0 / 0.5215 GB, free: 12.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002624/0.06941, allocations: 4 kB / 0.5215 GB, free: 12.64 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.0192/0.08862, allocations: 8.814 MB / 0.5301 GB, free: 3.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.08866, allocations: 8.031 kB / 0.5301 GB, free: 3.742 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002493/0.09116, allocations: 1.048 MB / 0.5311 GB, free: 2.684 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01339/0.1045, allocations: 4.421 MB / 0.5355 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007628/0.1122, allocations: 4.629 MB / 0.54 GB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002829/0.1125, allocations: 485.1 kB / 0.5404 GB, free: 9.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001701/0.1142, allocations: 0.6288 MB / 0.5411 GB, free: 8.461 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01964/0.1338, allocations: 10.49 MB / 0.5513 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002293/0.134, allocations: 11.94 kB / 0.5513 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001778/0.1358, allocations: 272 kB / 0.5516 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002832/0.1361, allocations: 417.7 kB / 0.552 GB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01655/0.1526, allocations: 9.857 MB / 0.5616 GB, free: 3.312 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1945/0.3472, allocations: 30.78 MB / 0.5916 GB, free: 94.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007174/0.3544, allocations: 6.7 MB / 0.5982 GB, free: 88.42 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002246/0.3566, allocations: 2.109 MB / 0.6002 GB, free: 86.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002572/0.3569, allocations: 78.25 kB / 0.6003 GB, free: 86.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.3569, allocations: 68.88 kB / 0.6004 GB, free: 86.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=295): time 5.4e-06/0.3569, allocations: 3.609 kB / 0.6004 GB, free: 86.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=301): time 0.01262/0.3695, allocations: 10.82 MB / 0.611 GB, free: 75.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.3696, allocations: 81.78 kB / 0.611 GB, free: 75.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002818/0.3724, allocations: 3.133 MB / 0.6141 GB, free: 72.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001728/0.3726, allocations: 73.7 kB / 0.6142 GB, free: 72.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007718/0.3733, allocations: 2.955 MB / 0.6171 GB, free: 69.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004615/0.3738, allocations: 1.075 MB / 0.6181 GB, free: 68.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007723/0.3746, allocations: 0.9099 MB / 0.619 GB, free: 67.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.967e-05/0.3746, allocations: 309.1 kB / 0.6193 GB, free: 67.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/0.3763, allocations: 2.031 MB / 0.6213 GB, free: 65.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002047/0.3783, allocations: 3.755 MB / 0.6249 GB, free: 60.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004086/0.3824, allocations: 6.055 MB / 0.6308 GB, free: 53.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.968e-05/0.3825, allocations: 16 kB / 0.6309 GB, free: 53.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.005994/0.3885, allocations: 6.639 MB / 0.6373 GB, free: 47.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/0.3885, allocations: 30.81 kB / 0.6374 GB, free: 47.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.63e-05/0.3885, allocations: 64.2 kB / 0.6374 GB, free: 47.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009894/0.3895, allocations: 0.6702 MB / 0.6381 GB, free: 46.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/0.3913, allocations: 1.076 MB / 0.6391 GB, free: 45.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004456/0.3958, allocations: 6.016 MB / 0.645 GB, free: 39.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/0.398, allocations: 275.6 kB / 0.6453 GB, free: 39.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002786/0.3983, allocations: 239.9 kB / 0.6455 GB, free: 38.78 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (560): * Single equations (assignments): 559 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,28,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002475/0.4007, allocations: 2.316 MB / 0.6478 GB, free: 36.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004768/0.4012, allocations: 341.7 kB / 0.6481 GB, free: 36.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004432/0.4056, allocations: 4.618 MB / 0.6526 GB, free: 31.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.4057, allocations: 32 kB / 0.6526 GB, free: 31.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.4057, allocations: 4 kB / 0.6526 GB, free: 31.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.4057, allocations: 16.7 kB / 0.6527 GB, free: 31.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/0.417, allocations: 10.58 MB / 0.663 GB, free: 20.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.417, allocations: 4 kB / 0.663 GB, free: 20.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.418, allocations: 0.5305 MB / 0.6635 GB, free: 20.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008433/0.4188, allocations: 0.5697 MB / 0.6641 GB, free: 19.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.4189, allocations: 67.98 kB / 0.6641 GB, free: 19.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003814/0.4228, allocations: 5.259 MB / 0.6693 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.4228, allocations: 8 kB / 0.6693 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00569/0.4285, allocations: 6.589 MB / 0.6757 GB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/0.4296, allocations: 0.6617 MB / 0.6764 GB, free: 6.754 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002803/0.4299, allocations: 71.98 kB / 0.6764 GB, free: 6.684 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000834/0.4307, allocations: 139.9 kB / 0.6766 GB, free: 6.547 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002482/0.431, allocations: 217.8 kB / 0.6768 GB, free: 6.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.516e-05/0.4311, allocations: 95.97 kB / 0.6769 GB, free: 6.238 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00178/0.4329, allocations: 2.013 MB / 0.6788 GB, free: 4.223 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4329, allocations: 0 / 0.6788 GB, free: 4.223 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003021/0.4359, allocations: 1.176 MB / 0.68 GB, free: 3.047 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (smee.short.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (291): * Single equations (assignments): 290 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007648/0.4435, allocations: 7.289 MB / 0.6871 GB, free: 11.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007353/0.4509, allocations: 4.823 MB / 0.6918 GB, free: 6.738 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/0.4509, allocations: 4 kB / 0.6918 GB, free: 6.734 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002879/0.4538, allocations: 2.11 MB / 0.6939 GB, free: 4.609 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/0.4561, allocations: 0.6417 MB / 0.6945 GB, free: 3.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0569/0.513, allocations: 39.08 MB / 0.7327 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004311/0.5173, allocations: 3.652 MB / 0.7362 GB, free: 7.156 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002545/0.5198, allocations: 1.322 MB / 0.7375 GB, free: 5.832 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002314/0.5221, allocations: 2.258 MB / 0.7397 GB, free: 3.574 MB / 490.7 MB Notification: Performance of SimCode: time 1.383e-06/0.5221, allocations: 0 / 0.7397 GB, free: 3.574 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2432/0.7654, allocations: 91.44 MB / 0.829 GB, free: 89.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.39, allocations: 10.66 kB / 0.829 GB, free: 89.59 MB / 490.7 MB " [Timeout remaining time 648] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.859657646156847] Failed to read output from testmodel.py, exit status != 0: 11.5104909427464 11.516700302 11.446260016 Calling exit ...