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.0008584/0.0008584, 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.9189/0.9189, allocations: 177.1 MB / 199.4 MB, free: 5.918 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.00113/0.00113, allocations: 156 kB / 256 MB, free: 13.32 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.029/0.029, allocations: 6.663 MB / 319 MB, free: 26.75 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.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: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 445.4 MB, free: 37.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.732e-05, allocations: 2.281 kB / 445.4 MB, free: 37.61 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.002996/0.003013, allocations: 4.125 MB / 449.5 MB, free: 33.46 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.004301, allocations: 1.188 MB / 450.7 MB, free: 32.27 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.004497, allocations: 27.81 kB / 450.7 MB, free: 32.24 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.004737, allocations: 182.6 kB / 450.9 MB, free: 32.06 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006185/0.005356, allocations: 389.5 kB / 451.3 MB, free: 31.68 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.00557, allocations: 191.6 kB / 451.5 MB, free: 31.49 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007531/0.006324, allocations: 1.708 MB / 453.2 MB, free: 29.78 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004293/0.006753, allocations: 0.5958 MB / 453.8 MB, free: 29.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005941/0.007347, allocations: 1.049 MB / 454.8 MB, free: 28.09 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005275/0.007874, allocations: 0.795 MB / 455.6 MB, free: 27.29 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.00799, allocations: 180 kB / 455.8 MB, free: 27.12 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.008146, allocations: 184 kB / 456 MB, free: 26.94 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.008333, allocations: 0.5142 MB / 456.5 MB, free: 26.42 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002836/0.008616, allocations: 0.5652 MB / 457.1 MB, free: 25.86 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009945/0.009611, allocations: 2.415 MB / 459.5 MB, free: 23.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.009614, allocations: 0 / 459.5 MB, free: 23.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.009615, allocations: 0 / 459.5 MB, free: 23.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.996e-05/0.009634, allocations: 0 / 459.5 MB, free: 23.43 MB / 330.7 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.001653/0.01129, allocations: 1.76 MB / 461.2 MB, free: 21.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.01132, allocations: 8.031 kB / 461.2 MB, free: 21.63 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001207/0.01144, allocations: 177.4 kB / 461.4 MB, free: 21.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002619/0.0117, allocations: 188 kB / 461.6 MB, free: 21.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008189/0.01252, allocations: 0.9432 MB / 462.5 MB, free: 20.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.077e-05/0.01256, allocations: 86.59 kB / 462.6 MB, free: 20.21 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.01267, allocations: 112.4 kB / 462.7 MB, free: 20.1 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.01409, allocations: 1.793 MB / 464.5 MB, free: 18.22 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.01411, allocations: 4 kB / 464.5 MB, free: 18.22 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.163e-05/0.01417, allocations: 44 kB / 464.6 MB, free: 18.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.413e-05/0.0142, allocations: 54.16 kB / 464.6 MB, free: 18.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.01556, allocations: 1.547 MB / 466.2 MB, free: 16.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003603/0.01916, allocations: 4.536 MB / 470.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.02024, allocations: 1.322 MB / 472 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006881/0.02093, allocations: 0.8017 MB / 472.8 MB, free: 9.824 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.02097, allocations: 9 kB / 472.8 MB, free: 9.816 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.02099, allocations: 43.56 kB / 472.9 MB, free: 9.766 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 2.595e-06/0.02099, allocations: 0 / 472.9 MB, free: 9.766 MB / 330.7 MB Notification: Performance of matching and sorting (n=93): time 0.003893/0.02489, allocations: 3.783 MB / 476.7 MB, free: 5.934 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.02491, allocations: 60.41 kB / 476.7 MB, free: 5.863 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005823/0.02549, allocations: 0.8871 MB / 477.6 MB, free: 4.969 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.02553, allocations: 41.7 kB / 477.7 MB, free: 4.922 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.02568, allocations: 0.5204 MB / 478.2 MB, free: 4.395 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.668e-05/0.02577, allocations: 321.3 kB / 478.5 MB, free: 4.078 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.0259, allocations: 142.7 kB / 478.6 MB, free: 3.934 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.183e-05/0.02594, allocations: 345.9 kB / 479 MB, free: 3.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004115/0.02635, allocations: 497.6 kB / 479.5 MB, free: 3.102 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00044/0.02679, allocations: 0.5683 MB / 480 MB, free: 2.523 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008447/0.02763, allocations: 1.069 MB / 481.1 MB, free: 1.445 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.02764, allocations: 0 / 481.1 MB, free: 1.445 MB / 330.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001338/0.02897, allocations: 1.554 MB / 482.7 MB, free: 15.87 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.02899, allocations: 11.94 kB / 482.7 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.029, allocations: 0 / 482.7 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006597/0.02966, allocations: 495 kB / 483.1 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.02995, allocations: 135.8 kB / 483.3 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005885/0.03584, allocations: 9.114 MB / 492.4 MB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.0361, allocations: 43.95 kB / 492.4 MB, free: 5.617 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.03613, allocations: 24 kB / 492.5 MB, free: 5.594 MB / 346.7 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.0005203/0.03665, allocations: 0.4997 MB / 493 MB, free: 5.086 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.29e-05/0.03675, allocations: 99.39 kB / 493.1 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.03686, allocations: 133.4 kB / 493.2 MB, free: 4.855 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.03687, allocations: 8 kB / 493.2 MB, free: 4.848 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.03688, allocations: 7.938 kB / 493.2 MB, free: 4.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.03689, allocations: 7.922 kB / 493.2 MB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/0.03988, allocations: 2.98 MB / 496.2 MB, free: 1.781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.03988, allocations: 0 / 496.2 MB, free: 1.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.04014, allocations: 115.8 kB / 496.3 MB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005911/0.04073, allocations: 491.4 kB / 496.8 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.387e-05/0.04078, allocations: 27.98 kB / 496.8 MB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005599/0.04638, allocations: 9.044 MB / 0.494 GB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.04639, allocations: 4.031 kB / 0.494 GB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.0485, allocations: 2.321 MB / 0.4963 GB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/0.04878, allocations: 227.3 kB / 0.4965 GB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.311e-05/0.04884, allocations: 23.94 kB / 0.4965 GB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.04908, allocations: 55.94 kB / 0.4966 GB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.04924, allocations: 96.77 kB / 0.4967 GB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.04927, allocations: 27.98 kB / 0.4967 GB, free: 4.867 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005242/0.04979, allocations: 0.6356 MB / 0.4973 GB, free: 4.234 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04979, allocations: 0 / 0.4973 GB, free: 4.234 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007444/0.05054, allocations: 312 kB / 0.4976 GB, free: 3.93 MB / 362.7 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.00262/0.05316, allocations: 2.896 MB / 0.5004 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001581/0.05474, allocations: 1.756 MB / 0.5021 GB, free: 15.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.05474, allocations: 8.125 kB / 0.5021 GB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009355/0.05568, allocations: 1.234 MB / 0.5034 GB, free: 13.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006677/0.05635, allocations: 282.9 kB / 0.5036 GB, free: 13.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.06708, allocations: 11.19 MB / 0.5146 GB, free: 2.238 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/0.06768, allocations: 0.8264 MB / 0.5154 GB, free: 1.375 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003149/0.068, allocations: 179.9 kB / 0.5155 GB, free: 1.195 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003729/0.06837, allocations: 420.3 kB / 0.5159 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of SimCode: time 7.52e-07/0.06837, allocations: 0 / 0.5159 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04496/0.1133, allocations: 32.65 MB / 0.5478 GB, free: 480 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.761/8.874, allocations: 3.938 kB / 0.5478 GB, free: 476 kB / 410.7 MB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 10.939549160189927] Failed to read output from testmodel.py, exit status != 0: 8.979743427596986 8.993311392 8.98083163 Calling exit ...