Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.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.001728/0.001728, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001955/0.001955, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Analog.Examples.DemoPowerSupply,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupply,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupply",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 63.89 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1207, allocations: 53.32 MB / 426.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.004037/0.1248, allocations: 2.063 MB / 428.7 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.1259, allocations: 0.5728 MB / 429.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.439e-05/0.126, allocations: 7.938 kB / 429.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.1261, allocations: 19.84 kB / 429.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.317e-05/0.1262, allocations: 35.66 kB / 429.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.1265, allocations: 67.83 kB / 429.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.1268, allocations: 215.3 kB / 429.7 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.127, allocations: 33.05 kB / 429.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.1271, allocations: 83.81 kB / 429.8 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.1273, allocations: 87.66 kB / 429.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/0.1274, allocations: 20 kB / 429.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.315e-05/0.1274, allocations: 23.94 kB / 429.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.1275, allocations: 35.91 kB / 429.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.1276, allocations: 79.58 kB / 430 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.1279, allocations: 195.3 kB / 430.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1279, allocations: 0 / 430.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1279, allocations: 0 / 430.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.1279, allocations: 0 / 430.2 MB, free: 1.453 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001057/0.129, allocations: 496.5 kB / 430.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.129, allocations: 8.031 kB / 430.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.106e-05/0.1291, allocations: 42.75 kB / 430.7 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.1292, allocations: 28.83 kB / 430.8 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.1296, allocations: 214.9 kB / 431 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/0.1298, allocations: 89.67 kB / 431.1 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.1298, allocations: 12.38 kB / 431.1 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.1301, allocations: 129.6 kB / 431.2 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1301, allocations: 0 / 431.2 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.1302, allocations: 8 kB / 431.2 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.1302, allocations: 0 / 431.2 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004387/0.1306, allocations: 115.8 kB / 431.3 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009491/0.1316, allocations: 0.511 MB / 431.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.1319, allocations: 110.6 kB / 431.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.1321, allocations: 44.83 kB / 432 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.1321, allocations: 4 kB / 432 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.1321, allocations: 38.5 kB / 432 MB, free: 15.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 3.125e-06/0.1321, allocations: 3.984 kB / 432 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008778/0.133, allocations: 295.4 kB / 432.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.1331, allocations: 63.34 kB / 432.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.1332, allocations: 150.3 kB / 432.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.1332, allocations: 33.7 kB / 432.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.248e-05/0.1333, allocations: 119.9 kB / 432.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.1333, allocations: 27.8 kB / 432.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.012e-05/0.1334, allocations: 30.09 kB / 432.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1336, allocations: 322.8 kB / 433 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.1338, allocations: 55.97 kB / 433.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.1339, allocations: 86.53 kB / 433.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.1343, allocations: 148.1 kB / 433.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1343, allocations: 0 / 433.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006113/0.1349, allocations: 259.9 kB / 433.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/0.1349, allocations: 37.7 kB / 433.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1349, allocations: 0 / 433.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002626/0.1352, allocations: 72.88 kB / 433.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.295e-05/0.1353, allocations: 19.92 kB / 433.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/0.1372, allocations: 1.621 MB / 435.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004255/0.1376, allocations: 44.02 kB / 435.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.1376, allocations: 11.94 kB / 435.4 MB, free: 11.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (dcPowerSupply.cp,dcPowerSupply.cc,dcPowerSupply.cv) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.1378, allocations: 125.8 kB / 435.5 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.1378, allocations: 19.84 kB / 435.5 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004191/0.1382, allocations: 167.1 kB / 435.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1382, allocations: 4 kB / 435.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.41e-07/0.1382, allocations: 0 / 435.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1382, allocations: 0 / 435.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.1385, allocations: 213.6 kB / 435.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1385, allocations: 0 / 435.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.205e-05/0.1386, allocations: 19.98 kB / 435.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001757/0.1388, allocations: 76.75 kB / 436 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1388, allocations: 0 / 436 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.1405, allocations: 1.61 MB / 437.6 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1405, allocations: 0 / 437.6 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004201/0.1409, allocations: 256.3 kB / 437.9 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.064e-05/0.141, allocations: 93.08 kB / 438 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.141, allocations: 0 / 438 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.1411, allocations: 15.98 kB / 438 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.1412, allocations: 11.98 kB / 438 MB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.1412, allocations: 7.938 kB / 438 MB, free: 8.941 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.5e-05/0.1413, allocations: 118.6 kB / 438.1 MB, free: 8.828 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1413, allocations: 0 / 438.1 MB, free: 8.828 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002948/0.1416, allocations: 47.94 kB / 438.1 MB, free: 8.781 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (dcPowerSupply.cv,dcPowerSupply.cc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008132/0.1424, allocations: 0.7796 MB / 438.9 MB, free: 7.973 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006426/0.1431, allocations: 302 kB / 439.2 MB, free: 7.652 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1431, allocations: 0 / 439.2 MB, free: 7.652 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002947/0.1434, allocations: 174.6 kB / 439.4 MB, free: 7.469 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.1437, allocations: 28.53 kB / 439.4 MB, free: 7.441 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.1465, allocations: 1.964 MB / 441.4 MB, free: 5.367 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.1469, allocations: 0.7045 MB / 442.1 MB, free: 4.637 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.435e-05/0.1469, allocations: 8.547 kB / 442.1 MB, free: 4.629 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.672e-05/0.147, allocations: 35.42 kB / 442.1 MB, free: 4.594 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.147, allocations: 4 kB / 442.1 MB, free: 4.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03443/0.1814, allocations: 4.521 MB / 446.7 MB, free: 212 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/11.98, allocations: 3.984 kB / 446.7 MB, free: 208 kB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupply_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupply.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.711299270857126] Failed to read output from testmodel.py, exit status != 0: 12.306251276284456 12.316420597 12.186144154 Calling exit ...