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.001665/0.001665, allocations: 103.7 kB / 16.45 MB, free: 6.449 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.544/1.544, allocations: 230.6 MB / 249.8 MB, free: 9.203 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.001627/0.001627, allocations: 213.1 kB / 306 MB, free: 4.285 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.04321/0.04321, allocations: 8.913 MB / 371 MB, free: 3.422 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.002805/0.002805, allocations: 87.88 kB / 495.8 MB, free: 9.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3096, allocations: 55.56 MB / 0.5384 GB, free: 26.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.02156/0.3312, allocations: 25.56 MB / 0.5634 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01672/0.3479, allocations: 8.136 MB / 0.5713 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006157/0.354, allocations: 199.6 kB / 0.5715 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01545/0.3695, allocations: 6.179 MB / 0.5775 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01109/0.3806, allocations: 2.794 MB / 0.5803 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006597/0.3872, allocations: 1.638 MB / 0.5819 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01525/0.4024, allocations: 7.341 MB / 0.589 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02298/0.4254, allocations: 10.13 MB / 0.5989 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009129/0.4345, allocations: 3.814 MB / 0.6026 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009051/0.4436, allocations: 4.294 MB / 0.6068 GB, free: 7.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00405/0.4476, allocations: 1.078 MB / 0.6079 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007096/0.4547, allocations: 1.453 MB / 0.6093 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004773/0.4595, allocations: 2.151 MB / 0.6114 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01083/0.4703, allocations: 4.117 MB / 0.6154 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02577/0.4961, allocations: 14.5 MB / 0.6296 GB, free: 456 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.314e-05/0.4961, allocations: 3.984 kB / 0.6296 GB, free: 452 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4961, allocations: 0 / 0.6296 GB, free: 452 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004892/0.4966, allocations: 0 / 0.6296 GB, free: 452 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.03156/0.5282, allocations: 8.972 MB / 0.6384 GB, free: 7.375 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.402e-05/0.5282, allocations: 12.03 kB / 0.6384 GB, free: 7.363 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004538/0.5328, allocations: 1.041 MB / 0.6394 GB, free: 6.312 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02758/0.5603, allocations: 4.417 MB / 0.6437 GB, free: 1.887 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01389/0.5742, allocations: 4.65 MB / 0.6482 GB, free: 13.17 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007056/0.5749, allocations: 481.1 kB / 0.6487 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004103/0.579, allocations: 0.6327 MB / 0.6493 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03197/0.611, allocations: 10.39 MB / 0.6595 GB, free: 1.602 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002627/0.6113, allocations: 15.92 kB / 0.6595 GB, free: 1.586 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00194/0.6132, allocations: 268 kB / 0.6597 GB, free: 1.324 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005181/0.6137, allocations: 417.7 kB / 0.6601 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02305/0.6368, allocations: 9.899 MB / 0.6698 GB, free: 7 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3795/1.016, allocations: 37.17 MB / 0.7061 GB, free: 92.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01685/1.033, allocations: 20.49 MB / 0.7261 GB, free: 75.47 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003947/1.037, allocations: 2.117 MB / 0.7282 GB, free: 75.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004367/1.038, allocations: 320.9 kB / 0.7285 GB, free: 75.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/1.038, allocations: 67.84 kB / 0.7285 GB, free: 75.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=295): time 4.438e-06/1.038, allocations: 0 / 0.7285 GB, free: 75.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=301): time 0.02859/1.066, allocations: 10.97 MB / 0.7393 GB, free: 70.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/1.066, allocations: 82 kB / 0.7393 GB, free: 70.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007455/1.074, allocations: 3.035 MB / 0.7423 GB, free: 69.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007052/1.074, allocations: 75.14 kB / 0.7424 GB, free: 69.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002574/1.077, allocations: 2.973 MB / 0.7453 GB, free: 67.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001616/1.079, allocations: 1.082 MB / 0.7463 GB, free: 66.63 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002571/1.081, allocations: 0.9241 MB / 0.7472 GB, free: 66.19 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.494e-05/1.081, allocations: 308.8 kB / 0.7475 GB, free: 65.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004179/1.085, allocations: 2.026 MB / 0.7495 GB, free: 65.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005774/1.091, allocations: 3.728 MB / 0.7531 GB, free: 62.13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008821/1.1, allocations: 6.057 MB / 0.7591 GB, free: 57.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001336/1.1, allocations: 15.72 kB / 0.7591 GB, free: 57.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01425/1.114, allocations: 6.652 MB / 0.7656 GB, free: 55.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.449e-05/1.114, allocations: 30.19 kB / 0.7656 GB, free: 55.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001092/1.115, allocations: 63.64 kB / 0.7657 GB, free: 55.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001776/1.116, allocations: 0.6621 MB / 0.7663 GB, free: 55.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003881/1.12, allocations: 1.071 MB / 0.7674 GB, free: 54.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00738/1.128, allocations: 6.23 MB / 0.7734 GB, free: 50.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004097/1.132, allocations: 278.9 kB / 0.7737 GB, free: 50.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007953/1.132, allocations: 230.6 kB / 0.7739 GB, free: 50.67 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.003984/1.136, allocations: 2.317 MB / 0.7762 GB, free: 49.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009584/1.137, allocations: 333.5 kB / 0.7765 GB, free: 48.97 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007084/1.144, allocations: 4.613 MB / 0.781 GB, free: 45.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/1.145, allocations: 32 kB / 0.781 GB, free: 45.81 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/1.145, allocations: 7.875 kB / 0.781 GB, free: 45.81 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.794e-05/1.145, allocations: 19.94 kB / 0.7811 GB, free: 45.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01884/1.163, allocations: 11.1 MB / 0.7919 GB, free: 34.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-05/1.163, allocations: 4 kB / 0.7919 GB, free: 34.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002294/1.166, allocations: 0.5343 MB / 0.7924 GB, free: 34.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001574/1.167, allocations: 0.5704 MB / 0.793 GB, free: 33.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004226/1.168, allocations: 67.98 kB / 0.7931 GB, free: 33.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006057/1.174, allocations: 5.458 MB / 0.7984 GB, free: 27.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.174, allocations: 7.938 kB / 0.7984 GB, free: 27.81 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008977/1.183, allocations: 6.6 MB / 0.8048 GB, free: 21.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001956/1.185, allocations: 0.7252 MB / 0.8055 GB, free: 20.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008748/1.186, allocations: 56 kB / 0.8056 GB, free: 20.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00215/1.188, allocations: 153 kB / 0.8057 GB, free: 20.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000481/1.188, allocations: 210 kB / 0.8059 GB, free: 19.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000199/1.188, allocations: 91.92 kB / 0.806 GB, free: 19.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003165/1.192, allocations: 2.024 MB / 0.808 GB, free: 17.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/1.192, allocations: 0 / 0.808 GB, free: 17.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006065/1.198, allocations: 1.18 MB / 0.8092 GB, free: 16.59 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.01064/1.208, allocations: 7.274 MB / 0.8163 GB, free: 9.148 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008543/1.217, allocations: 4.838 MB / 0.821 GB, free: 4.281 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/1.217, allocations: 4 kB / 0.821 GB, free: 4.277 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004056/1.221, allocations: 2.108 MB / 0.8231 GB, free: 2.156 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004623/1.226, allocations: 0.6492 MB / 0.8237 GB, free: 1.527 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07819/1.304, allocations: 39 MB / 0.8618 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006323/1.31, allocations: 4.154 MB / 0.8658 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005133/1.315, allocations: 1.322 MB / 0.8671 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005041/1.32, allocations: 2.26 MB / 0.8693 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of SimCode: time 1.623e-06/1.32, allocations: 4 kB / 0.8693 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3796/1.7, allocations: 89.61 MB / 0.9568 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.34/20.04, allocations: 5.969 kB / 0.9568 GB, free: 158.4 MB / 0.5606 GB " [Timeout remaining time 640] (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: 23.564440435002325] Failed to read output from testmodel.py, exit status != 0: 20.180501340990304 20.198555493 19.698010453 Calling exit ...