Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.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.001683/0.001683, allocations: 117.8 kB / 18.49 MB, free: 4.566 MB / 14.72 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.002193/0.002193, allocations: 190.7 kB / 21.43 MB, free: 1.641 MB / 14.72 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 1.406/1.406, allocations: 225.6 MB / 249.8 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] 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.Spice3.Examples.Graetz,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 43.92 kB / 366.3 MB, free: 0.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09638/0.09783, allocations: 52.14 MB / 418.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006317/0.1041, allocations: 5.23 MB / 423.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00827/0.1124, allocations: 6.647 MB / 430.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004874/0.1129, allocations: 59.38 kB / 430.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.114, allocations: 0.5008 MB / 430.9 MB, free: 152 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001771/0.1158, allocations: 0.8186 MB / 431.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009306/0.1167, allocations: 438.4 kB / 432.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002687/0.1194, allocations: 1.993 MB / 434.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.1196, allocations: 103.1 kB / 434.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004922/0.1201, allocations: 386.2 kB / 434.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003829/0.1205, allocations: 349.6 kB / 435 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.843e-05/0.1206, allocations: 28 kB / 435 MB, free: 12.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000962/0.1215, allocations: 491.5 kB / 435.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.1216, allocations: 107.3 kB / 435.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003813/0.122, allocations: 449 kB / 436 MB, free: 11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.1234, allocations: 1.276 MB / 437.3 MB, free: 9.723 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1234, allocations: 0 / 437.3 MB, free: 9.723 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1234, allocations: 3.984 kB / 437.3 MB, free: 9.719 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.1235, allocations: 0 / 437.3 MB, free: 9.719 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.001891/0.1253, allocations: 1.485 MB / 438.8 MB, free: 8.176 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1254, allocations: 15.97 kB / 438.8 MB, free: 8.16 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.717e-05/0.1254, allocations: 8.438 kB / 438.8 MB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.17e-05/0.1255, allocations: 58.55 kB / 438.9 MB, free: 8.086 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.1256, allocations: 139.1 kB / 439 MB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.1267, allocations: 0.8631 MB / 439.9 MB, free: 7.035 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1267, allocations: 12.44 kB / 439.9 MB, free: 7.023 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.905e-05/0.1268, allocations: 24 kB / 439.9 MB, free: 7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005268/0.1273, allocations: 310.7 kB / 440.2 MB, free: 6.688 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1273, allocations: 3.938 kB / 440.2 MB, free: 6.684 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.1273, allocations: 15.94 kB / 440.2 MB, free: 6.668 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.1273, allocations: 11.92 kB / 440.2 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.1278, allocations: 221.8 kB / 440.4 MB, free: 6.438 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.1295, allocations: 1.126 MB / 441.6 MB, free: 5.262 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.1299, allocations: 218.5 kB / 441.8 MB, free: 5.039 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004753/0.1303, allocations: 260.7 kB / 442 MB, free: 4.781 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009876/0.1313, allocations: 0.7554 MB / 442.8 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.1313, allocations: 34.56 kB / 442.8 MB, free: 3.832 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 2.004e-06/0.1314, allocations: 4 kB / 442.8 MB, free: 3.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.002931/0.1343, allocations: 1.57 MB / 444.4 MB, free: 2.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.1343, allocations: 106.8 kB / 444.5 MB, free: 2.031 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.1354, allocations: 0.9262 MB / 445.4 MB, free: 1.098 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.1354, allocations: 33.7 kB / 445.5 MB, free: 1.059 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/0.1357, allocations: 361.7 kB / 445.8 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.1358, allocations: 138.7 kB / 446 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.136, allocations: 125.7 kB / 446.1 MB, free: 440 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1361, allocations: 325.8 kB / 446.4 MB, free: 108 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1636/0.2997, allocations: 122.7 kB / 446.5 MB, free: 30.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/0.3, allocations: 159.5 kB / 446.7 MB, free: 30.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.3012, allocations: 0.731 MB / 447.4 MB, free: 30.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3012, allocations: 0 / 447.4 MB, free: 30.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008334/0.3021, allocations: 0.5569 MB / 448 MB, free: 30.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.34e-05/0.3021, allocations: 37.84 kB / 448 MB, free: 30 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/0.3021, allocations: 18.02 kB / 448 MB, free: 30 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001967/0.3023, allocations: 70.8 kB / 448.1 MB, free: 29.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.3025, allocations: 49.28 kB / 448.1 MB, free: 29.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001686/0.3042, allocations: 3.329 MB / 451.5 MB, free: 27.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.3045, allocations: 19.59 kB / 451.5 MB, free: 27.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-05/0.3046, allocations: 20.88 kB / 451.5 MB, free: 27.03 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.0003398/0.3049, allocations: 251.6 kB / 451.7 MB, free: 26.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.305, allocations: 134.3 kB / 451.9 MB, free: 26.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.3061, allocations: 0.6571 MB / 452.5 MB, free: 26.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3061, allocations: 4.5 kB / 452.5 MB, free: 26.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3061, allocations: 2.469 kB / 452.5 MB, free: 26.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3061, allocations: 2.391 kB / 452.5 MB, free: 26.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005412/0.3066, allocations: 0.6179 MB / 453.2 MB, free: 26.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.061e-05/0.3067, allocations: 14.5 kB / 453.2 MB, free: 26.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.3068, allocations: 38.03 kB / 453.2 MB, free: 26.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001586/0.307, allocations: 63.97 kB / 453.3 MB, free: 26.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/0.307, allocations: 19.19 kB / 453.3 MB, free: 26.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/0.3086, allocations: 3.329 MB / 456.6 MB, free: 23.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3086, allocations: 6.203 kB / 456.6 MB, free: 23.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.3097, allocations: 0.8453 MB / 457.5 MB, free: 23.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/0.31, allocations: 287.1 kB / 457.8 MB, free: 23.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.634e-05/0.3101, allocations: 9.984 kB / 457.8 MB, free: 23.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.3103, allocations: 16.73 kB / 457.8 MB, free: 23.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-05/0.3104, allocations: 32.88 kB / 457.8 MB, free: 23.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.072e-05/0.3105, allocations: 23.69 kB / 457.8 MB, free: 23.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006817/0.3111, allocations: 0.6247 MB / 458.5 MB, free: 22.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3111, allocations: 0 / 458.5 MB, free: 22.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007705/0.3119, allocations: 227.9 kB / 458.7 MB, free: 22.93 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.002022/0.3139, allocations: 1.603 MB / 460.3 MB, free: 21.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009919/0.3149, allocations: 0.7454 MB / 461 MB, free: 21.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3149, allocations: 3.625 kB / 461 MB, free: 21.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005685/0.3155, allocations: 0.5875 MB / 461.6 MB, free: 20.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005746/0.3161, allocations: 115.7 kB / 461.7 MB, free: 20.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006721/0.3228, allocations: 5.756 MB / 467.5 MB, free: 17.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.3232, allocations: 0.9999 MB / 468.5 MB, free: 17.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002523/0.3234, allocations: 95.5 kB / 468.6 MB, free: 17.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.3237, allocations: 287 kB / 468.9 MB, free: 16.94 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3237, allocations: 0 / 468.9 MB, free: 16.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04523/0.3689, allocations: 17.39 MB / 486.3 MB, free: 9.195 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.7, allocations: 14.81 kB / 486.3 MB, free: 9.184 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Graetz_fmu --startTime=0 --stopTime=0.025 --stepSize=4.998e-06 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Graetz.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.374859119008761] Failed to read output from testmodel.py, exit status != 0: ['time', 'D1.pin', 'D3.n.v'] 11.860923032043502 11.877294529 11.749980019 Calling exit ...