Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008553/0.0008553, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000753/0.000753, allocations: 157 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8594/0.8594, allocations: 173.4 MB / 200.5 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.494e-06/2.494e-06, allocations: 0 / 318.5 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.872e-05, allocations: 5.656 kB / 318.5 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003534/0.003563, allocations: 3.82 MB / 322.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.00502, allocations: 0.8995 MB / 323.2 MB, free: 1.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.005246, allocations: 11.94 kB / 323.2 MB, free: 1.578 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001891/0.005435, allocations: 95 kB / 323.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003852/0.00582, allocations: 214 kB / 323.5 MB, free: 1.273 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.006068, allocations: 163.7 kB / 323.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005051/0.006573, allocations: 0.7591 MB / 324.4 MB, free: 360 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.006787, allocations: 147.6 kB / 324.6 MB, free: 212 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003804/0.007167, allocations: 423.2 kB / 325 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.007396, allocations: 247.2 kB / 325.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.152e-05/0.007458, allocations: 60 kB / 325.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.381e-05/0.007511, allocations: 60 kB / 325.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.007626, allocations: 151.4 kB / 325.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.0078, allocations: 235.4 kB / 325.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004506/0.00825, allocations: 0.728 MB / 326.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.008253, allocations: 0 / 326.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.008254, allocations: 0 / 326.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.008262, allocations: 3.938 kB / 326.4 MB, free: 14.32 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.0009043/0.009166, allocations: 0.8515 MB / 327.3 MB, free: 13.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.009201, allocations: 8.922 kB / 327.3 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/0.009309, allocations: 107.9 kB / 327.4 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.009448, allocations: 76.47 kB / 327.5 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.00981, allocations: 331.6 kB / 327.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.009835, allocations: 41.69 kB / 327.8 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.009886, allocations: 56.38 kB / 327.9 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006349/0.01052, allocations: 0.5738 MB / 328.5 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.01053, allocations: 192 / 328.5 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.073e-05/0.01056, allocations: 27.94 kB / 328.5 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.01057, allocations: 12 kB / 328.5 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005275/0.0111, allocations: 460.9 kB / 329 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.01279, allocations: 1.893 MB / 330.9 MB, free: 9.727 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006689/0.01346, allocations: 0.5229 MB / 331.4 MB, free: 9.191 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003536/0.01381, allocations: 366.1 kB / 331.7 MB, free: 8.832 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.01385, allocations: 8.5 kB / 331.7 MB, free: 8.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.01387, allocations: 39.06 kB / 331.8 MB, free: 8.773 MB / 298.7 MB Notification: Performance of pre-optimization done (n=60): time 1.803e-06/0.01387, allocations: 0 / 331.8 MB, free: 8.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.002473/0.01634, allocations: 1.736 MB / 333.5 MB, free: 6.988 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.01637, allocations: 55.91 kB / 333.6 MB, free: 6.922 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.01662, allocations: 361.7 kB / 333.9 MB, free: 6.559 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.01665, allocations: 33.7 kB / 334 MB, free: 6.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.01675, allocations: 249.3 kB / 334.2 MB, free: 6.273 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.441e-05/0.01684, allocations: 206.2 kB / 334.4 MB, free: 6.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.154e-05/0.01694, allocations: 86.34 kB / 334.5 MB, free: 5.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.273e-05/0.01703, allocations: 362.7 kB / 334.8 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.01723, allocations: 173.2 kB / 335 MB, free: 5.449 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.01745, allocations: 208.8 kB / 335.2 MB, free: 5.238 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/0.01786, allocations: 390 kB / 335.6 MB, free: 4.855 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01786, allocations: 0 / 335.6 MB, free: 4.855 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000712/0.01857, allocations: 0.6602 MB / 336.3 MB, free: 4.176 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.01859, allocations: 8 kB / 336.3 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01859, allocations: 0 / 336.3 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004193/0.01901, allocations: 255.2 kB / 336.5 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.01917, allocations: 59.91 kB / 336.6 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003959/0.02313, allocations: 7.041 MB / 343.6 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.02325, allocations: 20.02 kB / 343.6 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.02327, allocations: 20.5 kB / 343.6 MB, free: 12.31 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.0001434/0.02341, allocations: 178.4 kB / 343.8 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/0.02346, allocations: 47.72 kB / 343.9 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.319e-05/0.02351, allocations: 72.95 kB / 343.9 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.02351, allocations: 4 kB / 343.9 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.02352, allocations: 0 / 343.9 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.02352, allocations: 11.92 kB / 344 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.02476, allocations: 1.241 MB / 345.2 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.02476, allocations: 0 / 345.2 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.02503, allocations: 55.91 kB / 345.3 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003546/0.02538, allocations: 251.2 kB / 345.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.02541, allocations: 19.92 kB / 345.5 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003781/0.02919, allocations: 7.037 MB / 352.6 MB, free: 2.871 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.02919, allocations: 128 / 352.6 MB, free: 2.871 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.03024, allocations: 1.017 MB / 353.6 MB, free: 1.824 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.03035, allocations: 84.16 kB / 353.7 MB, free: 1.742 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.03038, allocations: 19.92 kB / 353.7 MB, free: 1.723 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.0305, allocations: 16 kB / 353.7 MB, free: 1.707 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.03061, allocations: 56.48 kB / 353.7 MB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.03063, allocations: 19.98 kB / 353.8 MB, free: 1.633 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001766/0.03081, allocations: 259.2 kB / 354 MB, free: 1.379 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03081, allocations: 3.938 kB / 354 MB, free: 1.375 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005433/0.03135, allocations: 172 kB / 354.2 MB, free: 1.207 MB / 314.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.001239/0.03259, allocations: 1.58 MB / 355.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009404/0.03353, allocations: 1.009 MB / 356.8 MB, free: 14.53 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.03353, allocations: 0 / 356.8 MB, free: 14.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006213/0.03415, allocations: 0.8175 MB / 357.6 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.03448, allocations: 89.45 kB / 357.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004765/0.03925, allocations: 5.008 MB / 362.7 MB, free: 8.449 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.03947, allocations: 279.9 kB / 363 MB, free: 8.148 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.03959, allocations: 52.55 kB / 363 MB, free: 8.094 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.03974, allocations: 172.4 kB / 363.2 MB, free: 7.926 MB / 330.7 MB Notification: Performance of SimCode: time 7.62e-07/0.03974, allocations: 0 / 363.2 MB, free: 7.926 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.07068, allocations: 14.5 MB / 377.7 MB, free: 9.66 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.421/8.491, allocations: 3.125 kB / 377.7 MB, free: 9.66 MB / 346.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Analog_Examples_Rectifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.200135693885386] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'Capacitor2.v', 'Inductor2.i', 'Inductor3.i'] 8.588031991384923 8.60164511 8.591133939 Calling exit ...