Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.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.0008107/0.0008107, allocations: 83.69 kB / 20.68 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] 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.0008039/0.0008039, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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.8807/0.8807, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.358e-05, allocations: 4.672 kB / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003685/0.003708, allocations: 3.859 MB / 328.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.005225, allocations: 0.9813 MB / 329.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002158/0.005441, allocations: 11.94 kB / 329.5 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.005645, allocations: 102.9 kB / 329.6 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004412/0.006086, allocations: 210 kB / 329.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.006451, allocations: 195.6 kB / 329.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006622/0.007113, allocations: 0.7628 MB / 330.7 MB, free: 9.746 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.007364, allocations: 155.6 kB / 330.9 MB, free: 9.594 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004645/0.007829, allocations: 427 kB / 331.3 MB, free: 9.176 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003525/0.008181, allocations: 239.3 kB / 331.5 MB, free: 8.941 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.732e-05/0.008249, allocations: 64 kB / 331.6 MB, free: 8.879 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.008365, allocations: 67.94 kB / 331.6 MB, free: 8.812 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.008521, allocations: 155.3 kB / 331.8 MB, free: 8.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.008701, allocations: 235.4 kB / 332 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006871/0.009388, allocations: 0.7319 MB / 332.8 MB, free: 7.695 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.009395, allocations: 3.984 kB / 332.8 MB, free: 7.691 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.009397, allocations: 0 / 332.8 MB, free: 7.691 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.00941, allocations: 0 / 332.8 MB, free: 7.691 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001198/0.01061, allocations: 0.8544 MB / 333.6 MB, free: 6.809 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.01065, allocations: 12.03 kB / 333.6 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/0.01077, allocations: 119.8 kB / 333.7 MB, free: 6.672 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002307/0.011, allocations: 100.4 kB / 333.8 MB, free: 6.574 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004557/0.01146, allocations: 335.6 kB / 334.2 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.01149, allocations: 45.67 kB / 334.2 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.22e-05/0.01155, allocations: 56.38 kB / 334.3 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007152/0.01227, allocations: 0.5699 MB / 334.8 MB, free: 5.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.01228, allocations: 192 / 334.8 MB, free: 5.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.593e-05/0.01232, allocations: 23.94 kB / 334.9 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.01234, allocations: 16 kB / 334.9 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000626/0.01296, allocations: 464.9 kB / 335.3 MB, free: 5.023 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002405/0.01537, allocations: 1.912 MB / 337.2 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.01596, allocations: 0.5151 MB / 337.8 MB, free: 2.508 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003831/0.01634, allocations: 358.3 kB / 338.1 MB, free: 2.152 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.01637, allocations: 8.5 kB / 338.1 MB, free: 2.145 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.01639, allocations: 43.06 kB / 338.2 MB, free: 2.094 MB / 298.7 MB Notification: Performance of pre-optimization done (n=60): time 1.834e-06/0.0164, allocations: 0 / 338.2 MB, free: 2.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.00273/0.01913, allocations: 1.721 MB / 339.9 MB, free: 328 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.01916, allocations: 59.84 kB / 339.9 MB, free: 252 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.01945, allocations: 377.6 kB / 340.3 MB, free: 15.87 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.01947, allocations: 33.7 kB / 340.3 MB, free: 15.83 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.01958, allocations: 249.3 kB / 340.6 MB, free: 15.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.987e-05/0.01968, allocations: 210.2 kB / 340.8 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.616e-05/0.01978, allocations: 90.3 kB / 340.9 MB, free: 15.28 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.01988, allocations: 358.7 kB / 341.2 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.0201, allocations: 169.2 kB / 341.4 MB, free: 14.76 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.02033, allocations: 212.8 kB / 341.6 MB, free: 14.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004378/0.02077, allocations: 386.1 kB / 342 MB, free: 14.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.02077, allocations: 0 / 342 MB, free: 14.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007516/0.02152, allocations: 0.6602 MB / 342.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.02154, allocations: 4 kB / 342.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.02155, allocations: 0 / 342.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004657/0.02201, allocations: 259.2 kB / 342.9 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.02219, allocations: 63.91 kB / 343 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004392/0.02658, allocations: 7.038 MB / 350 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.02675, allocations: 23.95 kB / 350 MB, free: 5.637 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.02677, allocations: 16 kB / 350 MB, free: 5.621 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * 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.0001798/0.02695, allocations: 170.2 kB / 350.2 MB, free: 5.445 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.027, allocations: 55.67 kB / 350.3 MB, free: 5.391 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.634e-05/0.02706, allocations: 73.03 kB / 350.3 MB, free: 5.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.02706, allocations: 11.94 kB / 350.3 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.02707, allocations: 0 / 350.3 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.02707, allocations: 7.922 kB / 350.3 MB, free: 5.301 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.02862, allocations: 1.233 MB / 351.6 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.02862, allocations: 4 kB / 351.6 MB, free: 4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.02877, allocations: 51.97 kB / 351.6 MB, free: 3.949 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003861/0.02916, allocations: 259.1 kB / 351.9 MB, free: 3.684 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.02918, allocations: 15.94 kB / 351.9 MB, free: 3.668 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004042/0.03322, allocations: 7.035 MB / 358.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.03323, allocations: 0 / 358.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.03429, allocations: 1.025 MB / 360 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.03442, allocations: 83.66 kB / 360 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.03445, allocations: 12 kB / 360.1 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.03458, allocations: 15.98 kB / 360.1 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.954e-05/0.03468, allocations: 52.41 kB / 360.1 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.0347, allocations: 19.98 kB / 360.1 MB, free: 10.95 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001838/0.03488, allocations: 259.2 kB / 360.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.03488, allocations: 0 / 360.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000581/0.03547, allocations: 176 kB / 360.6 MB, free: 10.53 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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.001275/0.03674, allocations: 1.592 MB / 362.2 MB, free: 8.898 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.03778, allocations: 1.013 MB / 363.2 MB, free: 7.828 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.03778, allocations: 0 / 363.2 MB, free: 7.828 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006333/0.03841, allocations: 0.8214 MB / 364 MB, free: 6.957 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.03878, allocations: 89.55 kB / 364.1 MB, free: 6.871 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004863/0.04364, allocations: 5.016 MB / 369.1 MB, free: 1.742 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.04386, allocations: 288.4 kB / 369.4 MB, free: 1.434 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.04398, allocations: 56.53 kB / 369.4 MB, free: 1.375 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.04413, allocations: 176.4 kB / 369.6 MB, free: 1.199 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.04413, allocations: 0 / 369.6 MB, free: 1.199 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03335/0.07749, allocations: 14.61 MB / 384.2 MB, free: 2.832 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.538/8.615, allocations: 0 / 384.2 MB, free: 2.832 MB / 346.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-05 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.366399152204394] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'Capacitor2.v', 'Inductor2.i', 'Inductor3.i'] 8.718473561108112 8.732828331 8.721273929 Calling exit ...