Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Rectifier.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.001856/0.001856, 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.518/1.518, allocations: 230.6 MB / 252.6 MB, free: 8.281 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.002404/0.002404, allocations: 215.6 kB / 309.2 MB, free: 3.125 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.04144/0.04144, allocations: 8.916 MB / 374.6 MB, free: 1.887 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.Electrical.Rectifier,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.Rectifier,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Rectifier",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.002502/0.002502, allocations: 87.88 kB / 0.4892 GB, free: 7.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2787, allocations: 55.61 MB / 0.5435 GB, free: 26.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.004491/0.2832, allocations: 4.577 MB / 0.548 GB, free: 23.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.2856, allocations: 1.228 MB / 0.5492 GB, free: 22.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003007/0.2859, allocations: 29.31 kB / 0.5492 GB, free: 22.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003518/0.2862, allocations: 178.6 kB / 0.5494 GB, free: 22.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008542/0.2871, allocations: 375.4 kB / 0.5497 GB, free: 22.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.2873, allocations: 185.9 kB / 0.5499 GB, free: 22.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001204/0.2886, allocations: 1.662 MB / 0.5515 GB, free: 21.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007243/0.2893, allocations: 0.6176 MB / 0.5521 GB, free: 21.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008156/0.2901, allocations: 0.7289 MB / 0.5528 GB, free: 20.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000939/0.291, allocations: 0.8725 MB / 0.5537 GB, free: 20.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.2912, allocations: 180.2 kB / 0.5539 GB, free: 20.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000238/0.2914, allocations: 184.2 kB / 0.554 GB, free: 20.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002949/0.2917, allocations: 0.4992 MB / 0.5545 GB, free: 19.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006165/0.2923, allocations: 0.8137 MB / 0.5553 GB, free: 19.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.294, allocations: 2.362 MB / 0.5576 GB, free: 18.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.294, allocations: 0 / 0.5576 GB, free: 18.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.294, allocations: 4 kB / 0.5576 GB, free: 18.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.325e-05/0.294, allocations: 3.938 kB / 0.5576 GB, free: 18.61 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.003198/0.2972, allocations: 1.771 MB / 0.5594 GB, free: 17.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.2972, allocations: 9 kB / 0.5594 GB, free: 17.58 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000185/0.2974, allocations: 178.8 kB / 0.5595 GB, free: 17.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004538/0.2979, allocations: 180.5 kB / 0.5597 GB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.2993, allocations: 0.953 MB / 0.5607 GB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/0.2993, allocations: 84.98 kB / 0.5607 GB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.2994, allocations: 116.2 kB / 0.5608 GB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.3021, allocations: 1.685 MB / 0.5625 GB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/0.3021, allocations: 1.5 kB / 0.5625 GB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.3022, allocations: 46.44 kB / 0.5625 GB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-05/0.3023, allocations: 46.14 kB / 0.5626 GB, free: 16.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/0.3048, allocations: 1.554 MB / 0.5641 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007536/0.3123, allocations: 4.916 MB / 0.5689 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.3141, allocations: 1.307 MB / 0.5702 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/0.3153, allocations: 0.7974 MB / 0.571 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.813e-05/0.3153, allocations: 9.656 kB / 0.571 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.3153, allocations: 63.73 kB / 0.571 GB, free: 11.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 3.116e-06/0.3153, allocations: 1.469 kB / 0.571 GB, free: 11.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=93): time 0.006521/0.3219, allocations: 3.783 MB / 0.5747 GB, free: 9.809 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.3219, allocations: 61.5 kB / 0.5748 GB, free: 9.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.3229, allocations: 0.8835 MB / 0.5756 GB, free: 9.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.707e-05/0.323, allocations: 45.2 kB / 0.5757 GB, free: 9.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002542/0.3233, allocations: 0.5156 MB / 0.5762 GB, free: 8.754 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.3234, allocations: 324.4 kB / 0.5765 GB, free: 8.473 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/0.3236, allocations: 148.5 kB / 0.5766 GB, free: 8.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.018e-05/0.3237, allocations: 342.8 kB / 0.577 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000712/0.3244, allocations: 0.4952 MB / 0.5774 GB, free: 7.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000755/0.3252, allocations: 0.5644 MB / 0.578 GB, free: 7.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.3266, allocations: 1.064 MB / 0.579 GB, free: 6.887 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3266, allocations: 0 / 0.579 GB, free: 6.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002341/0.3289, allocations: 1.555 MB / 0.5806 GB, free: 6.035 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.329, allocations: 9.75 kB / 0.5806 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.329, allocations: 9.047 kB / 0.5806 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000974/0.3299, allocations: 483.1 kB / 0.581 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000562/0.3305, allocations: 141.1 kB / 0.5812 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008349/0.3389, allocations: 9.181 MB / 0.5901 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009622/0.3398, allocations: 52.03 kB / 0.5902 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.192e-05/0.3399, allocations: 24 kB / 0.5902 GB, free: 12.48 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001024/0.3409, allocations: 0.4989 MB / 0.5907 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/0.3411, allocations: 99.39 kB / 0.5908 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002796/0.3414, allocations: 133.4 kB / 0.5909 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.3414, allocations: 23.92 kB / 0.5909 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/0.3415, allocations: 0 / 0.5909 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.081e-05/0.3415, allocations: 7.922 kB / 0.5909 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005711/0.3472, allocations: 3.132 MB / 0.594 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.3472, allocations: 0 / 0.594 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005201/0.3477, allocations: 115.9 kB / 0.5941 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.3487, allocations: 491 kB / 0.5946 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.516e-05/0.3488, allocations: 20 kB / 0.5946 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009804/0.3586, allocations: 9.114 MB / 0.6035 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3586, allocations: 4.547 kB / 0.6035 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004139/0.3627, allocations: 2.332 MB / 0.6058 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008245/0.3636, allocations: 231.3 kB / 0.606 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.3637, allocations: 20 kB / 0.606 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005051/0.3642, allocations: 55.94 kB / 0.6061 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000233/0.3644, allocations: 88.83 kB / 0.6062 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-05/0.3645, allocations: 31.92 kB / 0.6062 GB, free: 11.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009024/0.3654, allocations: 0.6395 MB / 0.6068 GB, free: 10.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3654, allocations: 0 / 0.6068 GB, free: 10.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001321/0.3667, allocations: 312 kB / 0.6071 GB, free: 10.59 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inductor.inductor[2].i,inductor.inductor[3].i,capacitor1.v,capacitor2.v) * Number of discrete variables: 6 (rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004117/0.3708, allocations: 2.9 MB / 0.6099 GB, free: 7.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002863/0.3737, allocations: 1.756 MB / 0.6117 GB, free: 5.828 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.3737, allocations: 0 / 0.6117 GB, free: 5.828 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001823/0.3755, allocations: 1.234 MB / 0.6129 GB, free: 4.543 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.3768, allocations: 302.1 kB / 0.6132 GB, free: 4.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01707/0.3939, allocations: 11.22 MB / 0.6241 GB, free: 8.863 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/0.3951, allocations: 1.424 MB / 0.6255 GB, free: 7.402 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005542/0.3957, allocations: 179.9 kB / 0.6257 GB, free: 7.223 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006029/0.3963, allocations: 415.3 kB / 0.6261 GB, free: 6.816 MB / 430.1 MB Notification: Performance of SimCode: time 1.362e-06/0.3963, allocations: 0 / 0.6261 GB, free: 6.816 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08518/0.4815, allocations: 32.45 MB / 0.6578 GB, free: 6.719 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/15.16, allocations: 11.03 kB / 0.6578 GB, free: 6.711 MB / 462.1 MB " [Timeout remaining time 645] (rm -f HanserModelica_HanserModelica.Electrical.Rectifier.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Rectifier.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Rectifier.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Rectifier.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Electrical.Rectifier_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_Electrical_Rectifier.fmu > HanserModelica_HanserModelica.Electrical.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.17871200099762] Failed to read output from testmodel.py, exit status != 0: 15.297048936001374 15.325326772 15.026315995 Calling exit ...