Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001832/0.001832, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002209/0.002209, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002929/0.002929, allocations: 64.77 kB / 378.5 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3088, allocations: 53.37 MB / 431.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.007187/0.316, allocations: 5.251 MB / 437.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.326, allocations: 6.709 MB / 443.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.3271, allocations: 63.31 kB / 443.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.3287, allocations: 0.4968 MB / 444.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002925/0.3316, allocations: 0.8381 MB / 445.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.333, allocations: 442.4 kB / 445.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003584/0.3366, allocations: 2.052 MB / 447.7 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003055/0.3369, allocations: 99.25 kB / 447.8 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006912/0.3376, allocations: 390.2 kB / 448.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005093/0.3381, allocations: 341.7 kB / 448.6 MB, free: 6.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.367e-05/0.3382, allocations: 28 kB / 448.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.3395, allocations: 0.4996 MB / 449.1 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.3396, allocations: 115.2 kB / 449.2 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000438/0.34, allocations: 449 kB / 449.6 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.3419, allocations: 1.291 MB / 450.9 MB, free: 3.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3419, allocations: 0 / 450.9 MB, free: 3.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3419, allocations: 0 / 450.9 MB, free: 3.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.3419, allocations: 0 / 450.9 MB, free: 3.762 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002102/0.344, allocations: 1.415 MB / 452.3 MB, free: 2.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.3441, allocations: 8.031 kB / 452.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.328e-05/0.3441, allocations: 58.55 kB / 452.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003324/0.3445, allocations: 155 kB / 452.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.3457, allocations: 0.7639 MB / 453.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.3457, allocations: 20.38 kB / 453.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.079e-05/0.3457, allocations: 23.95 kB / 453.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005673/0.3463, allocations: 311.3 kB / 453.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3463, allocations: 0 / 453.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.3464, allocations: 8 kB / 453.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.3464, allocations: 11.94 kB / 453.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/0.3468, allocations: 233.8 kB / 453.9 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.3487, allocations: 1.05 MB / 455 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004384/0.3491, allocations: 223.2 kB / 455.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004923/0.3496, allocations: 265 kB / 455.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008153/0.3505, allocations: 165.4 kB / 455.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.3505, allocations: 42.5 kB / 455.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 2.344e-06/0.3505, allocations: 0 / 455.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.003013/0.3535, allocations: 1.423 MB / 457.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.678e-05/0.3536, allocations: 110.8 kB / 457.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.3548, allocations: 0.934 MB / 458.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.3548, allocations: 29.7 kB / 458.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/0.3551, allocations: 361.8 kB / 458.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.3552, allocations: 142.7 kB / 458.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.3554, allocations: 117.7 kB / 458.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3556, allocations: 325.9 kB / 459.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.3559, allocations: 124.6 kB / 459.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.3561, allocations: 160.4 kB / 459.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.3576, allocations: 0.7414 MB / 460.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3576, allocations: 0 / 460.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001033/0.3586, allocations: 0.5586 MB / 460.6 MB, free: 9.695 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.138e-05/0.3587, allocations: 49.56 kB / 460.7 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.922e-05/0.3587, allocations: 12 kB / 460.7 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002305/0.3589, allocations: 69.67 kB / 460.8 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.3592, allocations: 47.97 kB / 460.8 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/0.362, allocations: 3.128 MB / 463.9 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.3623, allocations: 11.98 kB / 464 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.245e-05/0.3624, allocations: 20 kB / 464 MB, free: 6.125 MB / 366.1 MB Warning: Assuming fixed start value for the following 4 variables: D2.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D4.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D3.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D1.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004708/0.3629, allocations: 264.1 kB / 464.2 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.363, allocations: 127.1 kB / 464.4 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.3643, allocations: 0.6607 MB / 465 MB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.3643, allocations: 4 kB / 465 MB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3644, allocations: 4 kB / 465 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.3644, allocations: 3.984 kB / 465 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007683/0.3651, allocations: 0.5917 MB / 465.6 MB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.868e-05/0.3652, allocations: 15.94 kB / 465.6 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.3653, allocations: 35.97 kB / 465.7 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002152/0.3656, allocations: 77.59 kB / 465.8 MB, free: 4.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.3656, allocations: 12 kB / 465.8 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002802/0.3684, allocations: 3.125 MB / 468.9 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3684, allocations: 0 / 468.9 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.3698, allocations: 0.8633 MB / 469.8 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004556/0.3703, allocations: 197.1 kB / 469.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.641e-05/0.3704, allocations: 16.11 kB / 470 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002675/0.3706, allocations: 19.94 kB / 470 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.571e-05/0.3707, allocations: 31.98 kB / 470 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/0.3708, allocations: 19.98 kB / 470 MB, free: 15.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008393/0.3716, allocations: 0.6295 MB / 470.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3716, allocations: 0 / 470.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008531/0.3725, allocations: 227.7 kB / 470.9 MB, free: 14.88 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D1.pin,D4.n.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002324/0.3748, allocations: 1.608 MB / 472.5 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.3762, allocations: 0.746 MB / 473.2 MB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3762, allocations: 0 / 473.2 MB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007449/0.3769, allocations: 0.5931 MB / 473.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006814/0.3776, allocations: 116.7 kB / 473.9 MB, free: 11.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008663/0.3863, allocations: 5.765 MB / 479.7 MB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006336/0.3869, allocations: 0.9961 MB / 480.7 MB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003065/0.3872, allocations: 97.62 kB / 480.8 MB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003357/0.3875, allocations: 283.3 kB / 481.1 MB, free: 4.328 MB / 382.1 MB Notification: Performance of SimCode: time 1.342e-06/0.3875, allocations: 0 / 481.1 MB, free: 4.328 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05775/0.4453, allocations: 17.6 MB / 498.7 MB, free: 2.891 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.39, allocations: 17.98 kB / 498.7 MB, free: 2.883 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz_res.csv --start-time 0 --stop-time 0.025 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4.998e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Graetz.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.95495672384277] Failed to read output from testmodel.py, exit status != 0: ['time', 'D1.pin', 'D3.n.v'] 12.488801075145602 12.515826978 12.168472525 Calling exit ...