Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.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.00134/0.00134, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.426/1.426, allocations: 230.6 MB / 252.7 MB, free: 14.25 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.001592/0.001592, allocations: 212.4 kB / 309.2 MB, free: 3.059 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.0404/0.0404, allocations: 8.91 MB / 374.6 MB, free: 6.594 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_Slip1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1",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.002386/0.002386, allocations: 91.88 kB / 0.4892 GB, free: 44.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0829/0.08528, allocations: 55.6 MB / 0.5435 GB, free: 5.027 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.2328/0.3181, allocations: 21.95 MB / 0.5649 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01378/0.3319, allocations: 7.765 MB / 0.5725 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005578/0.3375, allocations: 206.2 kB / 0.5727 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01402/0.3515, allocations: 5.716 MB / 0.5783 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009145/0.3606, allocations: 2.772 MB / 0.581 GB, free: 7.016 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005191/0.3658, allocations: 1.605 MB / 0.5825 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009989/0.3758, allocations: 7.401 MB / 0.5898 GB, free: 2.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01765/0.3935, allocations: 8.994 MB / 0.5985 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008078/0.4015, allocations: 3.842 MB / 0.6023 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008819/0.4104, allocations: 4.043 MB / 0.6062 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003281/0.4136, allocations: 1.069 MB / 0.6073 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00556/0.4192, allocations: 1.437 MB / 0.6087 GB, free: 9.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003939/0.4231, allocations: 2.145 MB / 0.6108 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007899/0.431, allocations: 3.211 MB / 0.6139 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02116/0.4522, allocations: 14.56 MB / 0.6281 GB, free: 6.977 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.4522, allocations: 0 / 0.6281 GB, free: 6.977 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4522, allocations: 4 kB / 0.6281 GB, free: 6.973 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004508/0.4527, allocations: 0 / 0.6281 GB, free: 6.973 MB / 414.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.02872/0.4814, allocations: 8.889 MB / 0.6368 GB, free: 14.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.4814, allocations: 15.98 kB / 0.6368 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003619/0.4851, allocations: 1.041 MB / 0.6379 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02525/0.5103, allocations: 4.413 MB / 0.6422 GB, free: 8.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01233/0.5226, allocations: 4.633 MB / 0.6467 GB, free: 3.836 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006013/0.5233, allocations: 485.1 kB / 0.6472 GB, free: 3.359 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00275/0.526, allocations: 0.6366 MB / 0.6478 GB, free: 2.723 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02767/0.5537, allocations: 10.48 MB / 0.658 GB, free: 8.145 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003426/0.554, allocations: 15.88 kB / 0.658 GB, free: 8.129 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002087/0.5561, allocations: 268 kB / 0.6583 GB, free: 7.867 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005144/0.5566, allocations: 417.7 kB / 0.6587 GB, free: 7.457 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02244/0.5791, allocations: 9.853 MB / 0.6683 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06464/0.6437, allocations: 30.78 MB / 0.6984 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01447/0.6582, allocations: 6.708 MB / 0.7049 GB, free: 7.988 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003913/0.6621, allocations: 2.105 MB / 0.707 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003707/0.6625, allocations: 78.25 kB / 0.707 GB, free: 5.801 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.987e-05/0.6625, allocations: 64.89 kB / 0.7071 GB, free: 5.727 MB / 494.1 MB Notification: Performance of pre-optimization done (n=295): time 5.57e-06/0.6625, allocations: 3.938 kB / 0.7071 GB, free: 5.723 MB / 494.1 MB Notification: Performance of matching and sorting (n=301): time 0.02349/0.686, allocations: 10.81 MB / 0.7177 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/0.6861, allocations: 85.78 kB / 0.7177 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005454/0.6915, allocations: 3.134 MB / 0.7208 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004152/0.692, allocations: 69.7 kB / 0.7209 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002347/0.6943, allocations: 2.97 MB / 0.7238 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001386/0.6957, allocations: 1.089 MB / 0.7248 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002058/0.6978, allocations: 0.9216 MB / 0.7257 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.6979, allocations: 305.1 kB / 0.726 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003422/0.7013, allocations: 2.027 MB / 0.728 GB, free: 124 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004984/0.7063, allocations: 3.761 MB / 0.7317 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008653/0.7149, allocations: 6.055 MB / 0.7376 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.674e-05/0.715, allocations: 16 kB / 0.7376 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01273/0.7277, allocations: 6.649 MB / 0.7441 GB, free: 14 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-05/0.7278, allocations: 28 kB / 0.7441 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.619e-05/0.7279, allocations: 56 kB / 0.7442 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001889/0.7298, allocations: 0.6665 MB / 0.7448 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003959/0.7337, allocations: 1.076 MB / 0.7459 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009537/0.7433, allocations: 6.022 MB / 0.7518 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003625/0.7469, allocations: 283.5 kB / 0.752 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007961/0.7477, allocations: 228 kB / 0.7523 GB, free: 5.523 MB / 0.5294 GB 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.004821/0.7525, allocations: 2.319 MB / 0.7545 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/0.7536, allocations: 341.8 kB / 0.7548 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008988/0.7626, allocations: 4.618 MB / 0.7594 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.968e-05/0.7626, allocations: 32 kB / 0.7594 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.757e-05/0.7627, allocations: 8 kB / 0.7594 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-05/0.7627, allocations: 15.94 kB / 0.7594 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02138/0.7841, allocations: 10.58 MB / 0.7697 GB, free: 3.367 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/0.7841, allocations: 8 kB / 0.7697 GB, free: 3.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002209/0.7863, allocations: 0.5305 MB / 0.7703 GB, free: 2.828 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001645/0.788, allocations: 0.5633 MB / 0.7708 GB, free: 2.262 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003379/0.7883, allocations: 75.97 kB / 0.7709 GB, free: 2.188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.205/0.9933, allocations: 5.242 MB / 0.776 GB, free: 166.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.9933, allocations: 10.34 kB / 0.776 GB, free: 166.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009411/1.003, allocations: 6.594 MB / 0.7825 GB, free: 165.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002068/1.005, allocations: 0.6669 MB / 0.7831 GB, free: 165.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005834/1.005, allocations: 59.42 kB / 0.7832 GB, free: 165.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/1.007, allocations: 140.8 kB / 0.7833 GB, free: 165.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000469/1.007, allocations: 223.6 kB / 0.7835 GB, free: 165.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/1.008, allocations: 90.86 kB / 0.7836 GB, free: 165.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003223/1.011, allocations: 2.021 MB / 0.7856 GB, free: 164.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/1.011, allocations: 0 / 0.7856 GB, free: 164.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004227/1.015, allocations: 1.181 MB / 0.7867 GB, free: 164.3 MB / 0.545 GB 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.01019/1.025, allocations: 7.271 MB / 0.7938 GB, free: 160.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008361/1.034, allocations: 4.832 MB / 0.7985 GB, free: 159.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/1.034, allocations: 1.812 kB / 0.7985 GB, free: 159.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003793/1.037, allocations: 2.119 MB / 0.8006 GB, free: 158.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003213/1.041, allocations: 0.6491 MB / 0.8012 GB, free: 158 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05132/1.092, allocations: 39.06 MB / 0.8394 GB, free: 130.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003261/1.095, allocations: 3.647 MB / 0.843 GB, free: 127.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003123/1.098, allocations: 1.331 MB / 0.8443 GB, free: 126.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002573/1.101, allocations: 2.264 MB / 0.8465 GB, free: 123.9 MB / 0.545 GB Notification: Performance of SimCode: time 9.32e-07/1.101, allocations: 0 / 0.8465 GB, free: 123.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.131/1.232, allocations: 91.58 MB / 0.9359 GB, free: 32.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.67/16.91, allocations: 11.06 kB / 0.9359 GB, free: 32.81 MB / 0.545 GB " [Timeout remaining time 643] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1_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_Slip1.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.177528193220496] Failed to read output from testmodel.py, exit status != 0: 17.067396685946733 17.085631374 16.629624332 Calling exit ...