Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.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.001616/0.001616, allocations: 120.1 kB / 18.49 MB, free: 4.562 MB / 14.72 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.001828/0.001828, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.44/1.44, allocations: 230.6 MB / 254.8 MB, free: 15.25 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+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.Spice3.Examples.Graetz,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 51.92 kB / 373.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1109, allocations: 53.32 MB / 427 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006487/0.1174, allocations: 5.241 MB / 432.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009208/0.1266, allocations: 6.69 MB / 438.9 MB, free: 8.875 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008089/0.1274, allocations: 63.31 kB / 439 MB, free: 8.812 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.1287, allocations: 0.4969 MB / 439.5 MB, free: 8.312 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.1311, allocations: 0.8224 MB / 440.3 MB, free: 7.484 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.1325, allocations: 438.4 kB / 440.7 MB, free: 7.055 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003286/0.1358, allocations: 2.048 MB / 442.8 MB, free: 5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002831/0.136, allocations: 103.1 kB / 442.9 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005886/0.1366, allocations: 390.2 kB / 443.3 MB, free: 4.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000412/0.137, allocations: 345.7 kB / 443.6 MB, free: 4.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.746e-05/0.1371, allocations: 32 kB / 443.6 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.1383, allocations: 0.4956 MB / 444.1 MB, free: 3.633 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.1384, allocations: 115.2 kB / 444.2 MB, free: 3.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004219/0.1388, allocations: 437.1 kB / 444.7 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.1404, allocations: 1.299 MB / 446 MB, free: 1.785 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1404, allocations: 4 kB / 446 MB, free: 1.781 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1404, allocations: 0 / 446 MB, free: 1.781 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.1404, allocations: 0 / 446 MB, free: 1.781 MB / 366.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.001947/0.1424, allocations: 1.482 MB / 447.5 MB, free: 244 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1424, allocations: 16.03 kB / 447.5 MB, free: 228 kB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.771e-05/0.1424, allocations: 4.438 kB / 447.5 MB, free: 224 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.404e-05/0.1425, allocations: 66.53 kB / 447.5 MB, free: 148 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1838/0.3263, allocations: 150.7 kB / 447.7 MB, free: 25.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.3278, allocations: 0.8531 MB / 448.5 MB, free: 24.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.3278, allocations: 16.84 kB / 448.6 MB, free: 24.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.972e-05/0.3279, allocations: 22.88 kB / 448.6 MB, free: 24.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005956/0.3285, allocations: 311 kB / 448.9 MB, free: 24.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3285, allocations: 1.438 kB / 448.9 MB, free: 24.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.3285, allocations: 12.47 kB / 448.9 MB, free: 24.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.3286, allocations: 5.781 kB / 448.9 MB, free: 24.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004036/0.329, allocations: 226.6 kB / 449.1 MB, free: 24.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.3306, allocations: 1.126 MB / 450.3 MB, free: 24.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/0.331, allocations: 215.2 kB / 450.5 MB, free: 24.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004213/0.3314, allocations: 260.6 kB / 450.7 MB, free: 24.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008306/0.3322, allocations: 0.8323 MB / 451.5 MB, free: 23.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.3323, allocations: 41.12 kB / 451.6 MB, free: 23.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 3.316e-06/0.3323, allocations: 1.312 kB / 451.6 MB, free: 23.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.002997/0.3353, allocations: 1.561 MB / 453.1 MB, free: 22.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.3353, allocations: 113 kB / 453.3 MB, free: 22.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.3364, allocations: 0.9335 MB / 454.2 MB, free: 21.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.3365, allocations: 30.95 kB / 454.2 MB, free: 21.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.3367, allocations: 365.6 kB / 454.6 MB, free: 21.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.937e-05/0.3368, allocations: 137.9 kB / 454.7 MB, free: 21.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.3369, allocations: 115.5 kB / 454.8 MB, free: 21.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.809e-05/0.337, allocations: 326.3 kB / 455.1 MB, free: 21.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.3372, allocations: 119.9 kB / 455.3 MB, free: 21.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002844/0.3375, allocations: 156 kB / 455.4 MB, free: 21.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.3389, allocations: 0.7423 MB / 456.2 MB, free: 20.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3389, allocations: 0.7812 kB / 456.2 MB, free: 20.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001086/0.34, allocations: 0.5513 MB / 456.7 MB, free: 20.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.364e-05/0.3401, allocations: 41.89 kB / 456.8 MB, free: 20.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.494e-05/0.3401, allocations: 12.67 kB / 456.8 MB, free: 20.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002316/0.3403, allocations: 69.62 kB / 456.8 MB, free: 20.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.3406, allocations: 50.11 kB / 456.9 MB, free: 20.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/0.3426, allocations: 3.328 MB / 460.2 MB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004765/0.3431, allocations: 13.53 kB / 460.2 MB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-05/0.3432, allocations: 19.83 kB / 460.2 MB, free: 17.11 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.0004438/0.3436, allocations: 263.7 kB / 460.5 MB, free: 16.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.3438, allocations: 127.7 kB / 460.6 MB, free: 16.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.3453, allocations: 0.666 MB / 461.3 MB, free: 16.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.3453, allocations: 7.281 kB / 461.3 MB, free: 16.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3453, allocations: 4.609 kB / 461.3 MB, free: 16.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.3453, allocations: 2.297 kB / 461.3 MB, free: 16.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009551/0.3463, allocations: 0.621 MB / 461.9 MB, free: 16.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-05/0.3463, allocations: 13.06 kB / 461.9 MB, free: 16.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.3465, allocations: 34.84 kB / 462 MB, free: 16.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002154/0.3467, allocations: 68.95 kB / 462 MB, free: 16.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/0.3467, allocations: 22.2 kB / 462.1 MB, free: 16.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.3486, allocations: 3.334 MB / 465.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3486, allocations: 0 / 465.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.3501, allocations: 0.8516 MB / 466.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000407/0.3505, allocations: 280.6 kB / 466.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.3506, allocations: 14.72 kB / 466.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.3509, allocations: 12.28 kB / 466.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.351, allocations: 33.12 kB / 466.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.774e-05/0.351, allocations: 23.45 kB / 466.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008263/0.3519, allocations: 0.6282 MB / 467.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3519, allocations: 0 / 467.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009097/0.3528, allocations: 226.4 kB / 467.5 MB, free: 11.9 MB / 366.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.002153/0.3549, allocations: 1.601 MB / 469.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.3562, allocations: 0.7488 MB / 469.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3562, allocations: 0 / 469.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006076/0.3568, allocations: 0.5907 MB / 470.4 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007263/0.3575, allocations: 107.8 kB / 470.5 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008867/0.3664, allocations: 5.777 MB / 476.3 MB, free: 6.719 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006655/0.367, allocations: 0.9991 MB / 477.3 MB, free: 6.008 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000395/0.3674, allocations: 94.55 kB / 477.4 MB, free: 5.984 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/0.3678, allocations: 283.4 kB / 477.6 MB, free: 5.77 MB / 366.1 MB Notification: Performance of SimCode: time 1.913e-06/0.3678, allocations: 0 / 477.6 MB, free: 5.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05333/0.4211, allocations: 17.42 MB / 495.1 MB, free: 11.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.86, allocations: 5.297 kB / 495.1 MB, free: 11.84 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Graetz_fmu --startTime=0 --stopTime=0.025 --stepSize=4.998e-06 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Graetz.fmu > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.588546807994135] Failed to read output from testmodel.py, exit status != 0: ['time', 'D1.pin', 'D3.n.v'] 12.007053175009787 12.020886129 11.877622394 Calling exit ...