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.001395/0.001395, allocations: 105 kB / 16.45 MB, free: 6.453 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.531/1.531, allocations: 230.6 MB / 249.8 MB, free: 9.211 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.001678/0.001678, allocations: 215.2 kB / 306 MB, free: 4.289 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.04216/0.04216, allocations: 8.906 MB / 371 MB, free: 3.43 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.002585/0.002585, allocations: 80.17 kB / 495.8 MB, free: 9.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3009, allocations: 55.57 MB / 0.5384 GB, free: 26.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.02232/0.3232, allocations: 25.57 MB / 0.5634 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01558/0.3388, allocations: 8.14 MB / 0.5713 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005366/0.3442, allocations: 201.2 kB / 0.5715 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01527/0.3594, allocations: 6.176 MB / 0.5776 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01105/0.3705, allocations: 2.794 MB / 0.5803 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006476/0.377, allocations: 1.645 MB / 0.5819 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01453/0.3915, allocations: 7.345 MB / 0.5891 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02088/0.4124, allocations: 10.13 MB / 0.599 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0086/0.421, allocations: 3.81 MB / 0.6027 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008437/0.4294, allocations: 4.302 MB / 0.6069 GB, free: 7.773 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003606/0.433, allocations: 1.07 MB / 0.6079 GB, free: 6.703 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005695/0.4387, allocations: 1.468 MB / 0.6094 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003964/0.4427, allocations: 2.143 MB / 0.6115 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008744/0.4514, allocations: 4.12 MB / 0.6155 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02189/0.4733, allocations: 14.5 MB / 0.6296 GB, free: 412 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.4733, allocations: 0 / 0.6296 GB, free: 412 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4733, allocations: 0 / 0.6296 GB, free: 412 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004145/0.4737, allocations: 4 kB / 0.6296 GB, free: 408 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.03037/0.5041, allocations: 8.968 MB / 0.6384 GB, free: 7.332 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.5042, allocations: 8.031 kB / 0.6384 GB, free: 7.324 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004078/0.5082, allocations: 1.048 MB / 0.6394 GB, free: 6.266 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02704/0.5353, allocations: 4.421 MB / 0.6438 GB, free: 1.836 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01294/0.5482, allocations: 4.646 MB / 0.6483 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000664/0.5489, allocations: 489.1 kB / 0.6488 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00307/0.552, allocations: 0.6249 MB / 0.6494 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02899/0.5809, allocations: 10.39 MB / 0.6595 GB, free: 1.559 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003003/0.5813, allocations: 7.953 kB / 0.6595 GB, free: 1.551 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002205/0.5835, allocations: 271.9 kB / 0.6598 GB, free: 1.285 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005445/0.584, allocations: 417.7 kB / 0.6602 GB, free: 0.875 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02456/0.6086, allocations: 9.903 MB / 0.6698 GB, free: 6.953 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.328/0.9365, allocations: 37.17 MB / 0.7061 GB, free: 92.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01648/0.953, allocations: 20.48 MB / 0.7262 GB, free: 75.49 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003879/0.9569, allocations: 2.114 MB / 0.7282 GB, free: 75.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000421/0.9573, allocations: 323.2 kB / 0.7285 GB, free: 75.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.9573, allocations: 66.8 kB / 0.7286 GB, free: 75.13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=295): time 5.46e-06/0.9574, allocations: 0 / 0.7286 GB, free: 75.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=301): time 0.02554/0.9829, allocations: 10.97 MB / 0.7393 GB, free: 70.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.983, allocations: 85.39 kB / 0.7394 GB, free: 70.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006087/0.989, allocations: 3.03 MB / 0.7423 GB, free: 69.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005439/0.9896, allocations: 76.64 kB / 0.7424 GB, free: 69.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002068/0.9917, allocations: 2.973 MB / 0.7453 GB, free: 67.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0013/0.993, allocations: 1.077 MB / 0.7464 GB, free: 66.63 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002041/0.995, allocations: 0.9244 MB / 0.7473 GB, free: 66.19 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.215e-05/0.995, allocations: 301.1 kB / 0.7476 GB, free: 65.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003559/0.9986, allocations: 2.032 MB / 0.7495 GB, free: 65.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004926/1.004, allocations: 3.727 MB / 0.7532 GB, free: 62.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008158/1.012, allocations: 6.07 MB / 0.7591 GB, free: 57.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001084/1.012, allocations: 15.59 kB / 0.7591 GB, free: 57.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01362/1.025, allocations: 6.645 MB / 0.7656 GB, free: 55.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.873e-05/1.025, allocations: 33.53 kB / 0.7657 GB, free: 55.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001097/1.026, allocations: 53 kB / 0.7657 GB, free: 55.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001922/1.028, allocations: 0.662 MB / 0.7663 GB, free: 55.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004541/1.032, allocations: 1.072 MB / 0.7674 GB, free: 54.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008724/1.041, allocations: 6.235 MB / 0.7735 GB, free: 50.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004383/1.045, allocations: 270.6 kB / 0.7737 GB, free: 50.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008602/1.046, allocations: 233.6 kB / 0.774 GB, free: 50.61 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.004405/1.05, allocations: 2.322 MB / 0.7762 GB, free: 49.08 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/1.052, allocations: 332.6 kB / 0.7766 GB, free: 48.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007466/1.059, allocations: 4.606 MB / 0.781 GB, free: 45.76 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/1.059, allocations: 32 kB / 0.7811 GB, free: 45.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/1.059, allocations: 7.875 kB / 0.7811 GB, free: 45.72 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.693e-05/1.059, allocations: 15.94 kB / 0.7811 GB, free: 45.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0189/1.078, allocations: 11.11 MB / 0.7919 GB, free: 34.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-05/1.078, allocations: 7.984 kB / 0.792 GB, free: 34.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002151/1.08, allocations: 0.535 MB / 0.7925 GB, free: 33.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001609/1.082, allocations: 0.5701 MB / 0.793 GB, free: 33.39 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003991/1.082, allocations: 75.91 kB / 0.7931 GB, free: 33.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006353/1.088, allocations: 5.447 MB / 0.7984 GB, free: 27.74 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/1.088, allocations: 7.938 kB / 0.7984 GB, free: 27.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009859/1.098, allocations: 6.596 MB / 0.8049 GB, free: 20.97 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001928/1.1, allocations: 0.733 MB / 0.8056 GB, free: 20.22 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000755/1.101, allocations: 63.92 kB / 0.8057 GB, free: 20.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001975/1.103, allocations: 140.9 kB / 0.8058 GB, free: 20.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004742/1.103, allocations: 218 kB / 0.806 GB, free: 19.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001971/1.104, allocations: 95.98 kB / 0.8061 GB, free: 19.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003035/1.107, allocations: 2.017 MB / 0.8081 GB, free: 17.69 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/1.107, allocations: 0 / 0.8081 GB, free: 17.69 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006334/1.113, allocations: 1.18 MB / 0.8092 GB, free: 16.51 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.01031/1.123, allocations: 7.278 MB / 0.8163 GB, free: 9.062 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008152/1.131, allocations: 4.836 MB / 0.821 GB, free: 4.195 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/1.132, allocations: 4 kB / 0.821 GB, free: 4.191 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003794/1.135, allocations: 2.114 MB / 0.8231 GB, free: 2.066 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004447/1.14, allocations: 0.6414 MB / 0.8237 GB, free: 1.445 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08501/1.225, allocations: 38.99 MB / 0.8618 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006661/1.231, allocations: 4.165 MB / 0.8659 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004169/1.236, allocations: 1.326 MB / 0.8672 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004326/1.24, allocations: 2.26 MB / 0.8694 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of SimCode: time 1.453e-06/1.24, allocations: 0 / 0.8694 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4177/1.658, allocations: 89.6 MB / 0.9569 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.58/19.24, allocations: 3.938 kB / 0.9569 GB, free: 158.7 MB / 0.5606 GB " [Timeout remaining time 641] (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: 22.75179154399666] Failed to read output from testmodel.py, exit status != 0: 19.380176630002097 19.39949746 18.921808816 Calling exit ...