Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.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.001449/0.001449, allocations: 106.5 kB / 16.45 MB, free: 6.508 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.477/1.477, allocations: 230.6 MB / 249.8 MB, free: 9.215 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.001656/0.001656, allocations: 212.2 kB / 306 MB, free: 4.305 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.04118/0.04118, allocations: 8.905 MB / 371 MB, free: 3.445 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_Slip3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3",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.002532/0.002532, allocations: 87.86 kB / 495.8 MB, free: 9.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3234, allocations: 55.56 MB / 0.5384 GB, free: 26.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.01917/0.3426, allocations: 25.58 MB / 0.5634 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01553/0.3581, allocations: 8.137 MB / 0.5713 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006485/0.3646, allocations: 205.1 kB / 0.5715 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01519/0.3798, allocations: 6.168 MB / 0.5776 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01017/0.3899, allocations: 2.795 MB / 0.5803 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005594/0.3955, allocations: 1.642 MB / 0.5819 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01192/0.4075, allocations: 7.34 MB / 0.5891 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01953/0.427, allocations: 10.13 MB / 0.599 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009835/0.4368, allocations: 3.822 MB / 0.6027 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008725/0.4456, allocations: 4.29 MB / 0.6069 GB, free: 7.809 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003285/0.4488, allocations: 1.074 MB / 0.6079 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004993/0.4538, allocations: 1.46 MB / 0.6094 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003279/0.4571, allocations: 2.155 MB / 0.6115 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008518/0.4656, allocations: 4.109 MB / 0.6155 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02195/0.4876, allocations: 14.51 MB / 0.6296 GB, free: 444 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4876, allocations: 0 / 0.6296 GB, free: 444 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4876, allocations: 0 / 0.6296 GB, free: 444 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003867/0.488, allocations: 0 / 0.6296 GB, free: 444 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.03032/0.5183, allocations: 8.972 MB / 0.6384 GB, free: 7.363 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/0.5184, allocations: 12.03 kB / 0.6384 GB, free: 7.352 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004016/0.5224, allocations: 1.041 MB / 0.6394 GB, free: 6.301 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0274/0.5498, allocations: 4.421 MB / 0.6437 GB, free: 1.871 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01097/0.5607, allocations: 4.642 MB / 0.6483 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005587/0.5613, allocations: 489 kB / 0.6487 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002473/0.5638, allocations: 0.6288 MB / 0.6494 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02836/0.5921, allocations: 10.39 MB / 0.6595 GB, free: 1.594 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003554/0.5925, allocations: 11.89 kB / 0.6595 GB, free: 1.582 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002485/0.595, allocations: 268 kB / 0.6598 GB, free: 1.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005336/0.5955, allocations: 417.7 kB / 0.6602 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02353/0.619, allocations: 9.9 MB / 0.6698 GB, free: 6.992 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3028/0.9218, allocations: 37.18 MB / 0.7061 GB, free: 92.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01531/0.9371, allocations: 20.49 MB / 0.7262 GB, free: 75.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003799/0.9409, allocations: 2.111 MB / 0.7282 GB, free: 75.42 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003772/0.9413, allocations: 326.1 kB / 0.7285 GB, free: 75.13 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.9414, allocations: 62.98 kB / 0.7286 GB, free: 75.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=295): time 5.16e-06/0.9414, allocations: 0 / 0.7286 GB, free: 75.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=301): time 0.0228/0.9642, allocations: 10.97 MB / 0.7393 GB, free: 70.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.9642, allocations: 89.5 kB / 0.7394 GB, free: 70.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004537/0.9687, allocations: 3.024 MB / 0.7423 GB, free: 69.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003952/0.9691, allocations: 76.7 kB / 0.7424 GB, free: 69.33 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001462/0.9706, allocations: 2.974 MB / 0.7453 GB, free: 67.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008618/0.9715, allocations: 1.081 MB / 0.7464 GB, free: 66.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001294/0.9728, allocations: 0.925 MB / 0.7473 GB, free: 66.17 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.254e-05/0.9728, allocations: 304.7 kB / 0.7476 GB, free: 65.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003043/0.9758, allocations: 2.033 MB / 0.7496 GB, free: 65.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003919/0.9798, allocations: 3.727 MB / 0.7532 GB, free: 62.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007317/0.9871, allocations: 6.059 MB / 0.7591 GB, free: 57.87 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.015e-05/0.9872, allocations: 14.72 kB / 0.7591 GB, free: 57.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01059/0.9978, allocations: 6.649 MB / 0.7656 GB, free: 55.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.557e-05/0.9978, allocations: 27.78 kB / 0.7656 GB, free: 55.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.635e-05/0.9979, allocations: 59.81 kB / 0.7657 GB, free: 55.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001714/0.9996, allocations: 0.6606 MB / 0.7663 GB, free: 55.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003536/1.003, allocations: 1.074 MB / 0.7674 GB, free: 54.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00712/1.01, allocations: 6.229 MB / 0.7735 GB, free: 50.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003641/1.014, allocations: 278.2 kB / 0.7737 GB, free: 50.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004798/1.014, allocations: 235.2 kB / 0.774 GB, free: 50.62 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.003259/1.018, allocations: 2.314 MB / 0.7762 GB, free: 49.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008023/1.018, allocations: 347.2 kB / 0.7766 GB, free: 48.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006832/1.025, allocations: 4.599 MB / 0.781 GB, free: 45.81 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.832e-05/1.025, allocations: 32 kB / 0.7811 GB, free: 45.78 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/1.025, allocations: 7.875 kB / 0.7811 GB, free: 45.78 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.671e-05/1.025, allocations: 15.94 kB / 0.7811 GB, free: 45.76 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01835/1.044, allocations: 11.11 MB / 0.792 GB, free: 34.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/1.044, allocations: 4 kB / 0.792 GB, free: 34.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001929/1.046, allocations: 0.5305 MB / 0.7925 GB, free: 34.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001492/1.047, allocations: 0.5705 MB / 0.793 GB, free: 33.44 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002564/1.047, allocations: 79.91 kB / 0.7931 GB, free: 33.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005949/1.053, allocations: 5.455 MB / 0.7984 GB, free: 27.78 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.053, allocations: 4 kB / 0.7984 GB, free: 27.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008612/1.062, allocations: 6.596 MB / 0.8049 GB, free: 21.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001592/1.064, allocations: 0.7252 MB / 0.8056 GB, free: 20.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005642/1.064, allocations: 71.98 kB / 0.8057 GB, free: 20.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/1.066, allocations: 144.5 kB / 0.8058 GB, free: 20.06 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004298/1.066, allocations: 205.9 kB / 0.806 GB, free: 19.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/1.066, allocations: 99.97 kB / 0.8061 GB, free: 19.76 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002755/1.069, allocations: 2.021 MB / 0.8081 GB, free: 17.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/1.069, allocations: 0 / 0.8081 GB, free: 17.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004407/1.074, allocations: 1.176 MB / 0.8092 GB, free: 16.56 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.008906/1.082, allocations: 7.276 MB / 0.8163 GB, free: 9.113 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007782/1.09, allocations: 4.832 MB / 0.821 GB, free: 4.25 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/1.09, allocations: 4 kB / 0.821 GB, free: 4.246 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003326/1.094, allocations: 2.118 MB / 0.8231 GB, free: 2.113 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003336/1.097, allocations: 0.646 MB / 0.8237 GB, free: 1.484 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07266/1.17, allocations: 38.98 MB / 0.8618 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005059/1.175, allocations: 4.158 MB / 0.8659 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003927/1.179, allocations: 1.33 MB / 0.8672 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004001/1.183, allocations: 2.257 MB / 0.8694 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of SimCode: time 1.173e-06/1.183, allocations: 3.938 kB / 0.8694 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4064/1.589, allocations: 89.6 MB / 0.9569 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.19/19.78, allocations: 7.938 kB / 0.9569 GB, free: 159 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3_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_Slip3.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.40783821999503] Failed to read output from testmodel.py, exit status != 0: 19.915501303999918 19.924207901 19.434045499 Calling exit ...