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.0008898/0.0008898, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.9032/0.9032, allocations: 177.2 MB / 199.4 MB, free: 5.93 MB / 186.7 MB " [Timeout remaining time 179] 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.001798/0.001798, allocations: 152.6 kB / 256 MB, free: 13.34 MB / 250.7 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.02228/0.02228, allocations: 6.668 MB / 319 MB, free: 26.77 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 3.938 kB / 445.4 MB, free: 37.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.031e-05, allocations: 12.89 kB / 445.5 MB, free: 37.58 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.01313/0.01315, allocations: 22 MB / 467.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01256/0.02572, allocations: 7.78 MB / 475.2 MB, free: 7.664 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004737/0.03045, allocations: 207 kB / 475.4 MB, free: 7.461 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006852/0.03731, allocations: 6.029 MB / 481.5 MB, free: 1.418 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006908/0.04421, allocations: 2.829 MB / 484.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003222/0.04744, allocations: 1.619 MB / 485.9 MB, free: 12.96 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.007816/0.05525, allocations: 7.625 MB / 493.5 MB, free: 5.305 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.011/0.06625, allocations: 9.015 MB / 0.4908 GB, free: 12.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008386/0.07464, allocations: 5.651 MB / 0.4963 GB, free: 6.504 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006285/0.08092, allocations: 3.621 MB / 0.4998 GB, free: 2.875 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002728/0.08365, allocations: 1.066 MB / 0.5009 GB, free: 1.809 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003605/0.08725, allocations: 1.452 MB / 0.5023 GB, free: 364 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002475/0.08973, allocations: 2.193 MB / 0.5044 GB, free: 14.15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004939/0.09467, allocations: 2.764 MB / 0.5071 GB, free: 11.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01512/0.1098, allocations: 14.7 MB / 0.5215 GB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.1098, allocations: 0 / 0.5215 GB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1098, allocations: 0 / 0.5215 GB, free: 12.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003506/0.1102, allocations: 0 / 0.5215 GB, free: 12.64 MB / 394.7 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.02522/0.1354, allocations: 8.826 MB / 0.5301 GB, free: 3.742 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.1354, allocations: 8.031 kB / 0.5301 GB, free: 3.734 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003283/0.1387, allocations: 1.048 MB / 0.5311 GB, free: 2.676 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01406/0.1528, allocations: 4.421 MB / 0.5355 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008958/0.1617, allocations: 4.625 MB / 0.54 GB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003892/0.1621, allocations: 493.1 kB / 0.5404 GB, free: 9.078 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002432/0.1646, allocations: 0.6249 MB / 0.541 GB, free: 8.453 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02174/0.1863, allocations: 10.49 MB / 0.5513 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001648/0.1865, allocations: 11.95 kB / 0.5513 GB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001309/0.1878, allocations: 264 kB / 0.5516 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003115/0.1881, allocations: 417.7 kB / 0.552 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01837/0.2064, allocations: 9.86 MB / 0.5616 GB, free: 3.305 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2065/0.413, allocations: 30.78 MB / 0.5916 GB, free: 94.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007317/0.4203, allocations: 6.7 MB / 0.5982 GB, free: 88.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/0.4225, allocations: 2.109 MB / 0.6002 GB, free: 86.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001985/0.4227, allocations: 81.25 kB / 0.6003 GB, free: 86.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.4227, allocations: 64.89 kB / 0.6004 GB, free: 86.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=295): time 5.119e-06/0.4227, allocations: 0 / 0.6004 GB, free: 86.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=301): time 0.01295/0.4357, allocations: 10.81 MB / 0.6109 GB, free: 75.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.4357, allocations: 82.55 kB / 0.611 GB, free: 75.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003245/0.439, allocations: 3.137 MB / 0.6141 GB, free: 72.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002301/0.4392, allocations: 73.7 kB / 0.6142 GB, free: 72.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008507/0.44, allocations: 2.959 MB / 0.6171 GB, free: 69.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000566/0.4406, allocations: 1.07 MB / 0.6181 GB, free: 68.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009217/0.4415, allocations: 0.9216 MB / 0.619 GB, free: 67.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.005e-05/0.4416, allocations: 301.1 kB / 0.6193 GB, free: 67.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001906/0.4435, allocations: 2.031 MB / 0.6213 GB, free: 65.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002286/0.4458, allocations: 3.757 MB / 0.6249 GB, free: 60.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004444/0.4502, allocations: 6.051 MB / 0.6308 GB, free: 53.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-05/0.4503, allocations: 16 kB / 0.6309 GB, free: 53.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.007156/0.4574, allocations: 6.647 MB / 0.6374 GB, free: 47.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.581e-05/0.4575, allocations: 32.22 kB / 0.6374 GB, free: 47.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-05/0.4575, allocations: 56 kB / 0.6374 GB, free: 47.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.4586, allocations: 0.6701 MB / 0.6381 GB, free: 46.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/0.4608, allocations: 1.072 MB / 0.6391 GB, free: 45.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004962/0.4658, allocations: 6.025 MB / 0.645 GB, free: 39.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002845/0.4686, allocations: 279.6 kB / 0.6453 GB, free: 38.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005097/0.4691, allocations: 232 kB / 0.6455 GB, free: 38.76 MB / 426.7 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.003068/0.4722, allocations: 2.315 MB / 0.6478 GB, free: 36.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006071/0.4728, allocations: 345.8 kB / 0.6481 GB, free: 36.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004716/0.4775, allocations: 4.61 MB / 0.6526 GB, free: 31.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.4775, allocations: 31.98 kB / 0.6526 GB, free: 31.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.4775, allocations: 12 kB / 0.6526 GB, free: 31.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.4775, allocations: 11.95 kB / 0.6527 GB, free: 31.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/0.4898, allocations: 10.58 MB / 0.663 GB, free: 20.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.4898, allocations: 4 kB / 0.663 GB, free: 20.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.4909, allocations: 0.5344 MB / 0.6635 GB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000954/0.4919, allocations: 0.562 MB / 0.6641 GB, free: 19.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/0.492, allocations: 75.97 kB / 0.6641 GB, free: 19.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004053/0.4961, allocations: 5.256 MB / 0.6693 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.4961, allocations: 8 kB / 0.6693 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005947/0.502, allocations: 6.577 MB / 0.6757 GB, free: 7.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/0.5033, allocations: 0.6695 MB / 0.6763 GB, free: 6.738 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003449/0.5036, allocations: 60 kB / 0.6764 GB, free: 6.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008869/0.5045, allocations: 147.8 kB / 0.6765 GB, free: 6.535 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002688/0.5048, allocations: 217.9 kB / 0.6768 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.5049, allocations: 91.97 kB / 0.6768 GB, free: 6.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001888/0.5068, allocations: 2.024 MB / 0.6788 GB, free: 4.203 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.5068, allocations: 0 / 0.6788 GB, free: 4.203 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003128/0.5099, allocations: 1.176 MB / 0.68 GB, free: 3.027 MB / 426.7 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.007/0.5169, allocations: 7.279 MB / 0.6871 GB, free: 11.58 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006131/0.523, allocations: 4.824 MB / 0.6918 GB, free: 6.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.523, allocations: 0 / 0.6918 GB, free: 6.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002853/0.5259, allocations: 2.11 MB / 0.6938 GB, free: 4.605 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002543/0.5284, allocations: 0.6546 MB / 0.6945 GB, free: 3.969 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06071/0.5891, allocations: 39.08 MB / 0.7327 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003894/0.593, allocations: 3.656 MB / 0.7362 GB, free: 7.156 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002617/0.5957, allocations: 1.318 MB / 0.7375 GB, free: 5.836 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002468/0.5981, allocations: 2.265 MB / 0.7397 GB, free: 3.57 MB / 490.7 MB Notification: Performance of SimCode: time 1.964e-06/0.5981, allocations: 3.938 kB / 0.7397 GB, free: 3.566 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2608/0.8589, allocations: 91.43 MB / 0.829 GB, free: 89.07 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/11.21, allocations: 7.922 kB / 0.829 GB, free: 89.06 MB / 490.7 MB " [Timeout remaining time 649] (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: 13.700592933222651] Failed to read output from testmodel.py, exit status != 0: 11.339955039322376 11.35205332 11.240029638 Calling exit ...