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.001382/0.001382, allocations: 117 kB / 18.49 MB, free: 4.59 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.001461/0.001461, allocations: 212.7 kB / 21.45 MB, free: 1.637 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.476/1.476, allocations: 230.4 MB / 254.7 MB, free: 15.2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupply,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupply",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 67.89 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1099, allocations: 53.37 MB / 427.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003415/0.1134, allocations: 2.066 MB / 429.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.1144, allocations: 0.5727 MB / 429.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.189e-05/0.1145, allocations: 0 / 429.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.1146, allocations: 23.8 kB / 429.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.102e-05/0.1147, allocations: 39.7 kB / 429.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.115, allocations: 67.83 kB / 429.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.1152, allocations: 211.3 kB / 430.1 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.1154, allocations: 33.11 kB / 430.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.1155, allocations: 91.73 kB / 430.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.1157, allocations: 87.66 kB / 430.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/0.1158, allocations: 20 kB / 430.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.859e-05/0.1158, allocations: 20 kB / 430.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.769e-05/0.1159, allocations: 35.91 kB / 430.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.598e-05/0.1159, allocations: 75.66 kB / 430.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.1162, allocations: 195.2 kB / 430.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1162, allocations: 0 / 430.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1162, allocations: 0 / 430.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1162, allocations: 0 / 430.6 MB, free: 1.082 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.0008008/0.117, allocations: 488.5 kB / 431.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1171, allocations: 15.97 kB / 431.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.45e-05/0.1171, allocations: 4.188 kB / 431.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.929e-05/0.1171, allocations: 46.73 kB / 431.1 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.1173, allocations: 20.84 kB / 431.2 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.1176, allocations: 208.2 kB / 431.4 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.557e-05/0.1177, allocations: 93.66 kB / 431.5 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.1177, allocations: 20.12 kB / 431.5 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.1181, allocations: 129.4 kB / 431.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.1181, allocations: 0 / 431.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.1181, allocations: 8 kB / 431.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1181, allocations: 0 / 431.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.1184, allocations: 111.9 kB / 431.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009224/0.1193, allocations: 0.511 MB / 432.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/0.1197, allocations: 110.6 kB / 432.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.1198, allocations: 40.84 kB / 432.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.22e-05/0.1199, allocations: 11.92 kB / 432.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.1199, allocations: 34.56 kB / 432.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.1199, allocations: 0 / 432.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009401/0.1209, allocations: 299.4 kB / 432.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.1209, allocations: 51.41 kB / 432.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.1211, allocations: 154.3 kB / 432.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.1211, allocations: 37.64 kB / 433 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.993e-05/0.1212, allocations: 116 kB / 433.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.1212, allocations: 23.81 kB / 433.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.986e-05/0.1213, allocations: 33.7 kB / 433.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1214, allocations: 322.8 kB / 433.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.1217, allocations: 55.97 kB / 433.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.1218, allocations: 90.47 kB / 433.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.1222, allocations: 140.2 kB / 433.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1222, allocations: 3.938 kB / 433.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000654/0.1228, allocations: 263.9 kB / 434 MB, free: 13.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.471e-05/0.1229, allocations: 37.69 kB / 434 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1229, allocations: 0 / 434 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002455/0.1231, allocations: 76.86 kB / 434.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.1232, allocations: 12 kB / 434.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.1251, allocations: 1.622 MB / 435.7 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.1255, allocations: 47.95 kB / 435.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.1255, allocations: 11.98 kB / 435.8 MB, free: 11.41 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.0001426/0.1256, allocations: 129.7 kB / 435.9 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.1257, allocations: 15.84 kB / 435.9 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00044/0.1261, allocations: 167.1 kB / 436.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1261, allocations: 8.188 kB / 436.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1261, allocations: 4 kB / 436.1 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1261, allocations: 3.984 kB / 436.1 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.1264, allocations: 213.6 kB / 436.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1264, allocations: 0 / 436.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.419e-05/0.1265, allocations: 19.98 kB / 436.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001785/0.1267, allocations: 72.77 kB / 436.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1267, allocations: 0 / 436.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.1283, allocations: 1.61 MB / 438 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1283, allocations: 192 / 438 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004231/0.1287, allocations: 252.2 kB / 438.3 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/0.1288, allocations: 97.08 kB / 438.4 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.1288, allocations: 3.984 kB / 438.4 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.1289, allocations: 15.98 kB / 438.4 MB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.129, allocations: 11.98 kB / 438.4 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.129, allocations: 4 kB / 438.4 MB, free: 8.562 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.1292, allocations: 114.6 kB / 438.5 MB, free: 8.453 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1292, allocations: 0 / 438.5 MB, free: 8.453 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003221/0.1295, allocations: 47.94 kB / 438.5 MB, free: 8.406 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.0007818/0.1303, allocations: 0.7868 MB / 439.3 MB, free: 7.594 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007151/0.131, allocations: 306 kB / 439.6 MB, free: 7.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.131, allocations: 0 / 439.6 MB, free: 7.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003212/0.1313, allocations: 178.5 kB / 439.8 MB, free: 7.082 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.1316, allocations: 27.97 kB / 439.8 MB, free: 7.055 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002917/0.1346, allocations: 1.958 MB / 441.8 MB, free: 4.988 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.1349, allocations: 0.7084 MB / 442.5 MB, free: 4.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.262e-05/0.135, allocations: 4.562 kB / 442.5 MB, free: 4.246 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.135, allocations: 39.42 kB / 442.5 MB, free: 4.207 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.135, allocations: 4 kB / 442.5 MB, free: 4.203 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2077/0.3428, allocations: 4.537 MB / 447.1 MB, free: 24.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.1, allocations: 9.828 kB / 447.1 MB, free: 24.94 MB / 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 -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.mat --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 os._exit(0), Time elapsed: 14.668457173975185] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcPowerSupply.v', 'dcPowerSupply.i', 'dcPowerSupply.P'] 12.26658617099747 12.28557519 12.165807712 Calling exit ...