Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001454/0.001454, allocations: 110.7 kB / 19.17 MB, free: 3.871 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.001467/0.001467, allocations: 203.8 kB / 22.12 MB, free: 0.9297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 207.6 MB / 232.5 MB, free: 3.984 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 47.94 kB / 343 MB, free: 10.12 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0918/0.09376, allocations: 49.13 MB / 392.1 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.00634/0.1001, allocations: 5.221 MB / 397.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008276/0.1084, allocations: 6.597 MB / 403.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005731/0.1089, allocations: 67.31 kB / 404 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.1102, allocations: 0.5008 MB / 404.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002038/0.1122, allocations: 0.8069 MB / 405.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.1133, allocations: 438.4 kB / 405.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002893/0.1162, allocations: 1.989 MB / 407.7 MB, free: 9.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.1165, allocations: 99.06 kB / 407.8 MB, free: 9.039 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005517/0.117, allocations: 382.2 kB / 408.2 MB, free: 8.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003985/0.1174, allocations: 341.7 kB / 408.5 MB, free: 8.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.028e-05/0.1175, allocations: 32 kB / 408.6 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.1185, allocations: 463.6 kB / 409 MB, free: 7.844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.1186, allocations: 111.3 kB / 409.1 MB, free: 7.734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004508/0.1191, allocations: 453 kB / 409.6 MB, free: 7.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.1208, allocations: 1.279 MB / 410.8 MB, free: 6.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1208, allocations: 0 / 410.8 MB, free: 6.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1208, allocations: 0 / 410.8 MB, free: 6.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.1208, allocations: 3.938 kB / 410.8 MB, free: 6 MB / 334.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.002016/0.1228, allocations: 1.49 MB / 412.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.1229, allocations: 8.031 kB / 412.3 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.287e-05/0.1229, allocations: 12.38 kB / 412.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.975e-05/0.123, allocations: 58.53 kB / 412.4 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.1231, allocations: 135.2 kB / 412.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.1242, allocations: 0.8631 MB / 413.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.1243, allocations: 20.38 kB / 413.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.16e-05/0.1243, allocations: 27.95 kB / 413.5 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005576/0.1249, allocations: 306.6 kB / 413.8 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1249, allocations: 3.938 kB / 413.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.1249, allocations: 12 kB / 413.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.1249, allocations: 4 kB / 413.8 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/0.1254, allocations: 221.8 kB / 414 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.1271, allocations: 1.122 MB / 415.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004054/0.1275, allocations: 218.4 kB / 415.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004933/0.128, allocations: 260.7 kB / 415.6 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/0.1291, allocations: 0.7593 MB / 416.3 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.1291, allocations: 38.56 kB / 416.4 MB, free: 112 kB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 2.304e-06/0.1291, allocations: 0 / 416.4 MB, free: 112 kB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.003153/0.1323, allocations: 1.56 MB / 417.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.825e-05/0.1324, allocations: 110.8 kB / 418 MB, free: 14.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.1335, allocations: 0.9339 MB / 419 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/0.1335, allocations: 33.7 kB / 419 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/0.1339, allocations: 357.8 kB / 419.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.134, allocations: 142.7 kB / 419.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.1342, allocations: 121.7 kB / 419.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1343, allocations: 318 kB / 419.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.1346, allocations: 116.6 kB / 420 MB, free: 12.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.1349, allocations: 167.6 kB / 420.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.1363, allocations: 0.737 MB / 420.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1363, allocations: 0 / 420.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000989/0.1373, allocations: 0.5585 MB / 421.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.299e-05/0.1374, allocations: 41.59 kB / 421.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.588e-05/0.1374, allocations: 19.94 kB / 421.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002347/0.1376, allocations: 69.67 kB / 421.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.1379, allocations: 51.94 kB / 421.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002832/0.1407, allocations: 3.328 MB / 425 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.141, allocations: 12.03 kB / 425 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.568e-05/0.1411, allocations: 19.98 kB / 425 MB, free: 6.945 MB / 350.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.000443/0.1415, allocations: 271.8 kB / 425.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.1417, allocations: 127.2 kB / 425.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.143, allocations: 0.6609 MB / 426.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.143, allocations: 8 kB / 426.1 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.143, allocations: 4 kB / 426.1 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-06/0.143, allocations: 3.984 kB / 426.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007606/0.1438, allocations: 0.6121 MB / 426.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.904e-05/0.1438, allocations: 16 kB / 426.7 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.144, allocations: 35.91 kB / 426.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002016/0.1442, allocations: 69.67 kB / 426.8 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.1442, allocations: 12 kB / 426.8 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002733/0.147, allocations: 3.339 MB / 430.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.147, allocations: 3.984 kB / 430.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.1483, allocations: 0.8518 MB / 431 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/0.1487, allocations: 276.2 kB / 431.3 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.593e-05/0.1488, allocations: 11.94 kB / 431.3 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.1491, allocations: 15.94 kB / 431.3 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.66e-05/0.1492, allocations: 35.95 kB / 431.4 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-05/0.1492, allocations: 12 kB / 431.4 MB, free: 188 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008065/0.15, allocations: 0.6295 MB / 432 MB, free: 15.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.15, allocations: 4.062 kB / 432 MB, free: 15.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008102/0.1508, allocations: 223.6 kB / 432.2 MB, free: 15.33 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.002117/0.1529, allocations: 1.62 MB / 433.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.1541, allocations: 0.7377 MB / 434.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1541, allocations: 0 / 434.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007013/0.1548, allocations: 0.5865 MB / 435.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.1553, allocations: 100.8 kB / 435.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008051/0.1634, allocations: 5.774 MB / 441.1 MB, free: 6.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006549/0.164, allocations: 1 MB / 442.1 MB, free: 5.152 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002841/0.1643, allocations: 93.64 kB / 442.1 MB, free: 5.059 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003168/0.1646, allocations: 283.3 kB / 442.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1646, allocations: 0 / 442.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04873/0.2134, allocations: 17.37 MB / 459.8 MB, free: 3.344 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.76, allocations: 12 kB / 459.8 MB, free: 3.332 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Graetz_fmu --startTime=0 --stopTime=0.025 --stepSize=4.998e-06 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Graetz.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.537396962987259] Failed to read output from testmodel.py, exit status != 0: ['time', 'D1.pin', 'D3.n.v'] 11.908383937960025 12.09602125 11.973068549 Calling exit ...