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.001379/0.001379, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.45/1.45, allocations: 230.6 MB / 252.6 MB, free: 8.305 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.001538/0.001538, allocations: 213.2 kB / 309.2 MB, free: 3.145 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.0446/0.0446, allocations: 8.918 MB / 374.6 MB, free: 1.898 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.002602/0.002602, allocations: 83.88 kB / 0.4892 GB, free: 7.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2733, allocations: 55.6 MB / 0.5435 GB, free: 26.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.02083/0.2941, allocations: 25.63 MB / 0.5686 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01653/0.3107, allocations: 8.149 MB / 0.5765 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005909/0.3166, allocations: 201.5 kB / 0.5767 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01458/0.3312, allocations: 6.203 MB / 0.5828 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00965/0.3408, allocations: 2.86 MB / 0.5856 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00537/0.3462, allocations: 1.672 MB / 0.5872 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01296/0.3591, allocations: 7.41 MB / 0.5944 GB, free: 6.988 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01863/0.3778, allocations: 9.116 MB / 0.6033 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007587/0.3854, allocations: 3.849 MB / 0.6071 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008115/0.3935, allocations: 4.31 MB / 0.6113 GB, free: 7.352 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002803/0.3963, allocations: 1.07 MB / 0.6123 GB, free: 6.281 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004281/0.4006, allocations: 1.464 MB / 0.6138 GB, free: 4.816 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002488/0.403, allocations: 2.147 MB / 0.6159 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006653/0.4097, allocations: 4.117 MB / 0.6199 GB, free: 14.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01796/0.4277, allocations: 14.5 MB / 0.634 GB, free: 15.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.4277, allocations: 0 / 0.634 GB, free: 15.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4277, allocations: 0 / 0.634 GB, free: 15.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003498/0.428, allocations: 0 / 0.634 GB, free: 15.98 MB / 446.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.02628/0.4543, allocations: 8.905 MB / 0.6427 GB, free: 7.004 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.4543, allocations: 8.031 kB / 0.6428 GB, free: 6.996 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00315/0.4575, allocations: 1.045 MB / 0.6438 GB, free: 5.941 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02564/0.4831, allocations: 4.417 MB / 0.6481 GB, free: 1.516 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01119/0.4943, allocations: 4.633 MB / 0.6526 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000499/0.4948, allocations: 485.1 kB / 0.6531 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002308/0.4971, allocations: 0.6249 MB / 0.6537 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02395/0.5211, allocations: 10.39 MB / 0.6638 GB, free: 1.266 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002107/0.5213, allocations: 19.88 kB / 0.6638 GB, free: 1.246 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009035/0.5222, allocations: 272 kB / 0.6641 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004376/0.5226, allocations: 417.7 kB / 0.6645 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0212/0.5438, allocations: 9.896 MB / 0.6742 GB, free: 6.66 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2686/0.8124, allocations: 33.52 MB / 0.7069 GB, free: 96.47 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01217/0.8246, allocations: 6.787 MB / 0.7135 GB, free: 96.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003609/0.8282, allocations: 2.111 MB / 0.7156 GB, free: 96.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002897/0.8285, allocations: 97.77 kB / 0.7157 GB, free: 96.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.189e-05/0.8285, allocations: 61.03 kB / 0.7157 GB, free: 96.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=295): time 4.959e-06/0.8285, allocations: 0 / 0.7157 GB, free: 96.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=301): time 0.02091/0.8494, allocations: 10.82 MB / 0.7263 GB, free: 92.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.8495, allocations: 86.41 kB / 0.7264 GB, free: 91.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00508/0.8546, allocations: 3.032 MB / 0.7294 GB, free: 90.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005341/0.8551, allocations: 72.05 kB / 0.7294 GB, free: 90.78 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002343/0.8574, allocations: 2.976 MB / 0.7323 GB, free: 88.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00147/0.8589, allocations: 1.08 MB / 0.7334 GB, free: 88.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002108/0.861, allocations: 0.9204 MB / 0.7343 GB, free: 87.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.698e-05/0.8611, allocations: 302.5 kB / 0.7346 GB, free: 87.33 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004729/0.8658, allocations: 2.028 MB / 0.7366 GB, free: 86.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005841/0.8716, allocations: 3.729 MB / 0.7402 GB, free: 83.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/0.882, allocations: 6.062 MB / 0.7461 GB, free: 79.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-05/0.8821, allocations: 15.81 kB / 0.7461 GB, free: 79.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01664/0.8987, allocations: 6.642 MB / 0.7526 GB, free: 76.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.49e-05/0.8988, allocations: 29.53 kB / 0.7526 GB, free: 76.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.984e-05/0.8989, allocations: 60.19 kB / 0.7527 GB, free: 76.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002497/0.9014, allocations: 0.6782 MB / 0.7534 GB, free: 76.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005532/0.9069, allocations: 1.068 MB / 0.7544 GB, free: 76.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/0.9178, allocations: 6.136 MB / 0.7604 GB, free: 72.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005291/0.923, allocations: 272.1 kB / 0.7607 GB, free: 72.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007372/0.9238, allocations: 239.4 kB / 0.7609 GB, free: 72.02 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.003603/0.9274, allocations: 2.314 MB / 0.7631 GB, free: 70.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000796/0.9282, allocations: 343.5 kB / 0.7635 GB, free: 70.31 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00647/0.9347, allocations: 4.603 MB / 0.768 GB, free: 66.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.9347, allocations: 28 kB / 0.768 GB, free: 66.85 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.9347, allocations: 11.88 kB / 0.768 GB, free: 66.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.972e-05/0.9347, allocations: 15.94 kB / 0.768 GB, free: 66.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01703/0.9517, allocations: 11.11 MB / 0.7789 GB, free: 55.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/0.9518, allocations: 4.625 kB / 0.7789 GB, free: 55.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001988/0.9537, allocations: 0.5343 MB / 0.7794 GB, free: 55.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00141/0.9552, allocations: 0.5654 MB / 0.7799 GB, free: 54.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002868/0.9554, allocations: 71.97 kB / 0.78 GB, free: 54.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006073/0.9615, allocations: 5.348 MB / 0.7852 GB, free: 48.99 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.9615, allocations: 11.94 kB / 0.7852 GB, free: 48.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009021/0.9705, allocations: 6.603 MB / 0.7917 GB, free: 42.22 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001984/0.9725, allocations: 0.6616 MB / 0.7923 GB, free: 41.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008471/0.9734, allocations: 59.94 kB / 0.7924 GB, free: 41.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002096/0.9755, allocations: 149.7 kB / 0.7925 GB, free: 41.35 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004287/0.9759, allocations: 221.9 kB / 0.7928 GB, free: 41.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/0.9761, allocations: 91.97 kB / 0.7928 GB, free: 41.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002773/0.9788, allocations: 2.021 MB / 0.7948 GB, free: 39.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.9788, allocations: 0 / 0.7948 GB, free: 39.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004639/0.9835, allocations: 1.176 MB / 0.796 GB, free: 37.84 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.00891/0.9924, allocations: 7.276 MB / 0.8031 GB, free: 30.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007136/0.9995, allocations: 4.828 MB / 0.8078 GB, free: 25.55 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/0.9995, allocations: 8.062 kB / 0.8078 GB, free: 25.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003186/1.003, allocations: 2.126 MB / 0.8099 GB, free: 23.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003479/1.006, allocations: 0.65 MB / 0.8105 GB, free: 22.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06841/1.075, allocations: 39.07 MB / 0.8487 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005258/1.08, allocations: 4.158 MB / 0.8527 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003897/1.084, allocations: 1.326 MB / 0.854 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004376/1.088, allocations: 2.26 MB / 0.8562 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of SimCode: time 1.783e-06/1.088, allocations: 0 / 0.8562 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3815/1.47, allocations: 93.57 MB / 0.9476 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.65/22.12, allocations: 9.25 kB / 0.9476 GB, free: 170.5 MB / 0.5606 GB " [Timeout remaining time 638] (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: 25.52957487999811] Failed to read output from testmodel.py, exit status != 0: 22.283476848002465 22.295875838 21.865278024 Calling exit ...