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.00187/0.00187, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.4/1.4, allocations: 230.6 MB / 252.7 MB, free: 8.098 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.001753/0.001753, allocations: 226.4 kB / 309.2 MB, free: 2.922 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.0411/0.0411, allocations: 8.919 MB / 374.6 MB, free: 1.707 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.003112/0.003112, allocations: 83.88 kB / 0.4891 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3073, allocations: 55.6 MB / 0.5434 GB, free: 26.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.00432/0.3116, allocations: 4.121 MB / 0.5475 GB, free: 23.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002294/0.3139, allocations: 1.181 MB / 0.5486 GB, free: 22.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003286/0.3142, allocations: 31.59 kB / 0.5486 GB, free: 22.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004253/0.3147, allocations: 182.4 kB / 0.5488 GB, free: 22.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009053/0.3156, allocations: 366.8 kB / 0.5492 GB, free: 22.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.3159, allocations: 187.2 kB / 0.5493 GB, free: 22.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001103/0.317, allocations: 1.661 MB / 0.551 GB, free: 21.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006357/0.3176, allocations: 0.5916 MB / 0.5515 GB, free: 21.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006883/0.3183, allocations: 0.7342 MB / 0.5523 GB, free: 20.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008807/0.3192, allocations: 0.8731 MB / 0.5531 GB, free: 20.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001905/0.3194, allocations: 184.6 kB / 0.5533 GB, free: 20.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.3197, allocations: 191.7 kB / 0.5535 GB, free: 20.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003178/0.32, allocations: 0.4969 MB / 0.554 GB, free: 20.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000543/0.3205, allocations: 0.6579 MB / 0.5546 GB, free: 19.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.3224, allocations: 2.373 MB / 0.5569 GB, free: 19.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3224, allocations: 3.938 kB / 0.5569 GB, free: 19.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3224, allocations: 0 / 0.5569 GB, free: 19.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.076e-05/0.3224, allocations: 3.25 kB / 0.5569 GB, free: 19.06 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.003294/0.3257, allocations: 1.768 MB / 0.5586 GB, free: 18.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3257, allocations: 9 kB / 0.5587 GB, free: 18.03 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001912/0.3259, allocations: 182.2 kB / 0.5588 GB, free: 17.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004574/0.3264, allocations: 191.6 kB / 0.559 GB, free: 17.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.3279, allocations: 0.9483 MB / 0.5599 GB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.078e-05/0.328, allocations: 83.86 kB / 0.56 GB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.3282, allocations: 113.5 kB / 0.5601 GB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/0.3307, allocations: 1.783 MB / 0.5619 GB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.3307, allocations: 2.812 kB / 0.5619 GB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-05/0.3308, allocations: 52.97 kB / 0.5619 GB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.725e-05/0.3309, allocations: 46.17 kB / 0.562 GB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002318/0.3332, allocations: 1.547 MB / 0.5635 GB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007365/0.3405, allocations: 4.546 MB / 0.5679 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/0.3425, allocations: 1.305 MB / 0.5692 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.3437, allocations: 0.8003 MB / 0.57 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.61e-05/0.3437, allocations: 10.34 kB / 0.57 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.3438, allocations: 44.58 kB / 0.57 GB, free: 12.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.885e-06/0.3438, allocations: 0 / 0.57 GB, free: 12.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=93): time 0.006914/0.3507, allocations: 3.789 MB / 0.5737 GB, free: 10.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.3507, allocations: 62.69 kB / 0.5738 GB, free: 10.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000998/0.3517, allocations: 0.8878 MB / 0.5746 GB, free: 9.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.338e-05/0.3518, allocations: 45.11 kB / 0.5747 GB, free: 9.879 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.352, allocations: 0.5127 MB / 0.5752 GB, free: 9.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.3522, allocations: 330.8 kB / 0.5755 GB, free: 9.137 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.3524, allocations: 153.4 kB / 0.5757 GB, free: 9.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.568e-05/0.3525, allocations: 343.5 kB / 0.576 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006902/0.3532, allocations: 0.4913 MB / 0.5765 GB, free: 8.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000704/0.3539, allocations: 0.5653 MB / 0.577 GB, free: 8.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.3552, allocations: 1.059 MB / 0.578 GB, free: 7.551 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3552, allocations: 1.25 kB / 0.578 GB, free: 7.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002235/0.3575, allocations: 1.559 MB / 0.5796 GB, free: 6.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3575, allocations: 5.938 kB / 0.5796 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3575, allocations: 1.156 kB / 0.5796 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009448/0.3584, allocations: 495 kB / 0.58 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005235/0.359, allocations: 137.5 kB / 0.5802 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007513/0.3665, allocations: 9.117 MB / 0.5891 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006178/0.3671, allocations: 43.98 kB / 0.5891 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.635e-05/0.3672, allocations: 24 kB / 0.5891 GB, free: 13.13 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.000815/0.368, allocations: 0.5039 MB / 0.5896 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.3681, allocations: 99.39 kB / 0.5897 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.3684, allocations: 133.3 kB / 0.5899 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.3684, allocations: 8 kB / 0.5899 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.3684, allocations: 4 kB / 0.5899 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.3684, allocations: 3.984 kB / 0.5899 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005546/0.374, allocations: 2.976 MB / 0.5928 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.374, allocations: 0 / 0.5928 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005203/0.3745, allocations: 115.9 kB / 0.5929 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/0.3755, allocations: 495.1 kB / 0.5934 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.407e-05/0.3756, allocations: 23.98 kB / 0.5934 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009808/0.3854, allocations: 9.048 MB / 0.6022 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3854, allocations: 0 / 0.6022 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00396/0.3894, allocations: 2.34 MB / 0.6045 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007413/0.3901, allocations: 231.3 kB / 0.6047 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.3902, allocations: 16 kB / 0.6047 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005132/0.3908, allocations: 55.94 kB / 0.6048 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/0.391, allocations: 92.83 kB / 0.6049 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.036e-05/0.391, allocations: 24 kB / 0.6049 GB, free: 12.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009245/0.392, allocations: 0.6395 MB / 0.6055 GB, free: 11.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.392, allocations: 0 / 0.6055 GB, free: 11.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001318/0.3933, allocations: 312 kB / 0.6058 GB, free: 11.46 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.004079/0.3974, allocations: 2.904 MB / 0.6087 GB, free: 8.512 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003003/0.4004, allocations: 1.752 MB / 0.6104 GB, free: 6.707 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.4004, allocations: 192 / 0.6104 GB, free: 6.707 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001798/0.4022, allocations: 1.226 MB / 0.6116 GB, free: 5.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.4035, allocations: 299.1 kB / 0.6119 GB, free: 5.137 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01771/0.4212, allocations: 11.21 MB / 0.6228 GB, free: 9.754 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/0.4223, allocations: 0.8342 MB / 0.6236 GB, free: 8.875 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006031/0.4229, allocations: 183.9 kB / 0.6238 GB, free: 8.691 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007307/0.4236, allocations: 415.3 kB / 0.6242 GB, free: 8.285 MB / 430.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4236, allocations: 0 / 0.6242 GB, free: 8.285 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0833/0.5069, allocations: 32.58 MB / 0.656 GB, free: 8.105 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.21, allocations: 7.562 kB / 0.656 GB, free: 8.102 MB / 462.1 MB " [Timeout remaining time 646] (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: 17.087977622635663] Failed to read output from testmodel.py, exit status != 0: 14.34375113574788 14.360241436 14.034650766 Calling exit ...