Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.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.001375/0.001375, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.46/1.46, allocations: 230.6 MB / 252.7 MB, free: 8.309 MB / 206.1 MB " [Timeout remaining time 178] 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.001794/0.001794, allocations: 227.4 kB / 309.2 MB, free: 3.145 MB / 238.1 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.0429/0.0429, allocations: 8.92 MB / 374.6 MB, free: 1.898 MB / 302.1 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_Slip4,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip4,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica 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.002672/0.002672, allocations: 87.84 kB / 0.4893 GB, free: 7.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3885, allocations: 55.6 MB / 0.5436 GB, free: 26.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.02407/0.4125, allocations: 25.65 MB / 0.5686 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02108/0.4336, allocations: 8.157 MB / 0.5766 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007728/0.4413, allocations: 201.8 kB / 0.5768 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01688/0.4582, allocations: 6.192 MB / 0.5828 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0127/0.4709, allocations: 2.872 MB / 0.5856 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007623/0.4785, allocations: 1.662 MB / 0.5872 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0157/0.4942, allocations: 7.415 MB / 0.5945 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02121/0.5154, allocations: 9.115 MB / 0.6034 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008843/0.5243, allocations: 3.841 MB / 0.6071 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009454/0.5337, allocations: 4.314 MB / 0.6113 GB, free: 7.469 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003694/0.5374, allocations: 1.07 MB / 0.6124 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005566/0.543, allocations: 1.461 MB / 0.6138 GB, free: 4.938 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00404/0.547, allocations: 2.155 MB / 0.6159 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009424/0.5565, allocations: 4.117 MB / 0.6199 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02419/0.5807, allocations: 14.5 MB / 0.6341 GB, free: 100 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.5807, allocations: 0 / 0.6341 GB, free: 100 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5807, allocations: 0 / 0.6341 GB, free: 100 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005157/0.5812, allocations: 0 / 0.6341 GB, free: 100 kB / 430.1 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.03357/0.6148, allocations: 8.9 MB / 0.6428 GB, free: 7.121 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.98e-05/0.6148, allocations: 16.03 kB / 0.6428 GB, free: 7.105 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005099/0.6199, allocations: 1.044 MB / 0.6438 GB, free: 6.051 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02662/0.6465, allocations: 4.409 MB / 0.6481 GB, free: 1.633 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01371/0.6603, allocations: 4.633 MB / 0.6527 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006436/0.6609, allocations: 493 kB / 0.6531 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003237/0.6641, allocations: 0.6288 MB / 0.6537 GB, free: 11.83 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02978/0.6939, allocations: 10.39 MB / 0.6639 GB, free: 1.367 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003293/0.6942, allocations: 15.89 kB / 0.6639 GB, free: 1.352 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002345/0.6966, allocations: 268 kB / 0.6642 GB, free: 1.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000569/0.6972, allocations: 421.7 kB / 0.6646 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02406/0.7212, allocations: 9.9 MB / 0.6742 GB, free: 6.762 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3594/1.081, allocations: 33.52 MB / 0.707 GB, free: 96.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01337/1.094, allocations: 6.771 MB / 0.7136 GB, free: 96.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003878/1.098, allocations: 2.105 MB / 0.7156 GB, free: 96.47 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004064/1.098, allocations: 96.66 kB / 0.7157 GB, free: 96.47 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.305e-05/1.098, allocations: 65.7 kB / 0.7158 GB, free: 96.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=295): time 5.46e-06/1.098, allocations: 0 / 0.7158 GB, free: 96.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=301): time 0.0265/1.125, allocations: 10.82 MB / 0.7263 GB, free: 92.28 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/1.125, allocations: 87.12 kB / 0.7264 GB, free: 92.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007681/1.133, allocations: 3.032 MB / 0.7294 GB, free: 91.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007595/1.133, allocations: 72.73 kB / 0.7295 GB, free: 91.01 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002425/1.136, allocations: 2.973 MB / 0.7324 GB, free: 89.13 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001633/1.137, allocations: 1.08 MB / 0.7334 GB, free: 88.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002219/1.14, allocations: 0.9229 MB / 0.7343 GB, free: 87.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.577e-05/1.14, allocations: 301.1 kB / 0.7346 GB, free: 87.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003722/1.143, allocations: 2.029 MB / 0.7366 GB, free: 86.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005161/1.149, allocations: 3.732 MB / 0.7402 GB, free: 83.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008302/1.157, allocations: 6.06 MB / 0.7461 GB, free: 79.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.126e-05/1.157, allocations: 19.84 kB / 0.7462 GB, free: 79.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01224/1.169, allocations: 6.648 MB / 0.7527 GB, free: 76.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.946e-05/1.169, allocations: 36.78 kB / 0.7527 GB, free: 76.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001061/1.169, allocations: 53 kB / 0.7527 GB, free: 76.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001805/1.171, allocations: 0.6629 MB / 0.7534 GB, free: 76.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003969/1.175, allocations: 1.078 MB / 0.7544 GB, free: 76.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007903/1.183, allocations: 6.131 MB / 0.7604 GB, free: 72.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004176/1.187, allocations: 279.7 kB / 0.7607 GB, free: 72.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008816/1.188, allocations: 237.9 kB / 0.7609 GB, free: 72.29 MB / 494.1 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.004879/1.193, allocations: 2.315 MB / 0.7632 GB, free: 70.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001172/1.194, allocations: 339 kB / 0.7635 GB, free: 70.58 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008598/1.203, allocations: 4.606 MB / 0.768 GB, free: 67.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.511e-05/1.203, allocations: 32 kB / 0.768 GB, free: 67.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/1.203, allocations: 7.938 kB / 0.768 GB, free: 67.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-05/1.203, allocations: 15.94 kB / 0.7681 GB, free: 67.08 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02273/1.226, allocations: 11.1 MB / 0.7789 GB, free: 55.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.602e-05/1.226, allocations: 8 kB / 0.7789 GB, free: 55.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002406/1.228, allocations: 0.5343 MB / 0.7794 GB, free: 55.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001601/1.23, allocations: 0.5738 MB / 0.78 GB, free: 54.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000544/1.23, allocations: 67.98 kB / 0.7801 GB, free: 54.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006278/1.236, allocations: 5.346 MB / 0.7853 GB, free: 49.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.236, allocations: 7.938 kB / 0.7853 GB, free: 49.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/1.247, allocations: 6.6 MB / 0.7917 GB, free: 42.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002212/1.249, allocations: 0.6655 MB / 0.7924 GB, free: 41.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009074/1.25, allocations: 59.94 kB / 0.7924 GB, free: 41.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002157/1.252, allocations: 143.8 kB / 0.7926 GB, free: 41.62 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005258/1.253, allocations: 225.9 kB / 0.7928 GB, free: 41.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002399/1.253, allocations: 91.98 kB / 0.7929 GB, free: 41.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003209/1.256, allocations: 2.021 MB / 0.7948 GB, free: 39.28 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.71e-07/1.256, allocations: 4 kB / 0.7949 GB, free: 39.28 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00595/1.262, allocations: 1.176 MB / 0.796 GB, free: 38.11 MB / 494.1 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.01083/1.273, allocations: 7.28 MB / 0.8031 GB, free: 30.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008908/1.282, allocations: 4.828 MB / 0.8078 GB, free: 25.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/1.282, allocations: 0.8125 kB / 0.8078 GB, free: 25.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004064/1.286, allocations: 2.121 MB / 0.8099 GB, free: 23.67 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004905/1.291, allocations: 0.6525 MB / 0.8105 GB, free: 23.04 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07855/1.369, allocations: 39.07 MB / 0.8487 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007727/1.377, allocations: 4.154 MB / 0.8528 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005045/1.382, allocations: 1.33 MB / 0.854 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005158/1.387, allocations: 2.257 MB / 0.8563 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of SimCode: time 1.623e-06/1.387, allocations: 0 / 0.8563 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4503/1.838, allocations: 93.57 MB / 0.9476 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.26/22.09, allocations: 6.219 kB / 0.9476 GB, free: 170.5 MB / 0.5606 GB " [Timeout remaining time 638] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4_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_Slip4.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.78252511100436] Failed to read output from testmodel.py, exit status != 0: 22.259515755002212 22.26978412 21.68611447 Calling exit ...