Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001271/0.001271, allocations: 120 kB / 18.5 MB, free: 4.52 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.001368/0.001368, allocations: 213.6 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.419/1.419, allocations: 230.5 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-beta.om/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_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_DemoPowerSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupply,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_DemoPowerSupply",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 75.83 kB / 373.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1135, allocations: 53.33 MB / 427 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003465/0.1169, allocations: 2.063 MB / 429.1 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.1182, allocations: 0.5767 MB / 429.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.1183, allocations: 4 kB / 429.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.1185, allocations: 19.8 kB / 429.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.1186, allocations: 43.62 kB / 429.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.1189, allocations: 63.86 kB / 429.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003382/0.1193, allocations: 211.3 kB / 430 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.1195, allocations: 37.09 kB / 430 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.1196, allocations: 79.77 kB / 430.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.1198, allocations: 91.64 kB / 430.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.372e-05/0.1199, allocations: 27.94 kB / 430.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.053e-05/0.12, allocations: 24 kB / 430.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.788e-05/0.12, allocations: 27.91 kB / 430.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.1201, allocations: 83.64 kB / 430.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.1205, allocations: 195.2 kB / 430.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1205, allocations: 0 / 430.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1205, allocations: 0 / 430.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1205, allocations: 0 / 430.5 MB, free: 1.328 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.0009248/0.1214, allocations: 496.5 kB / 431 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.1215, allocations: 8.031 kB / 431 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.117e-05/0.1215, allocations: 42.73 kB / 431.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.1217, allocations: 24.84 kB / 431.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.1221, allocations: 208.2 kB / 431.3 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.1222, allocations: 93.61 kB / 431.4 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.1222, allocations: 16.38 kB / 431.4 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.1226, allocations: 129.6 kB / 431.5 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1226, allocations: 3.984 kB / 431.5 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.1226, allocations: 4 kB / 431.6 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1226, allocations: 3.984 kB / 431.6 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003259/0.123, allocations: 111.8 kB / 431.7 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009888/0.1239, allocations: 0.515 MB / 432.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/0.1243, allocations: 106.6 kB / 432.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.1244, allocations: 40.84 kB / 432.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.1245, allocations: 8 kB / 432.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.1245, allocations: 42.48 kB / 432.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.1245, allocations: 0 / 432.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009399/0.1255, allocations: 295.4 kB / 432.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.1255, allocations: 55.41 kB / 432.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.1257, allocations: 152.8 kB / 432.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.1257, allocations: 29.7 kB / 432.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.49e-05/0.1258, allocations: 116 kB / 433 MB, free: 14.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.1258, allocations: 32.11 kB / 433 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-05/0.1259, allocations: 33.7 kB / 433.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.126, allocations: 322.8 kB / 433.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.1262, allocations: 59.91 kB / 433.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.1264, allocations: 86.48 kB / 433.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.1267, allocations: 140.2 kB / 433.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1267, allocations: 0 / 433.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006662/0.1274, allocations: 264 kB / 433.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.644e-05/0.1275, allocations: 41.69 kB / 434 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1275, allocations: 0 / 434 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002574/0.1277, allocations: 72.89 kB / 434 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.952e-05/0.1278, allocations: 15.98 kB / 434.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.1298, allocations: 1.621 MB / 435.7 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003482/0.1301, allocations: 44.02 kB / 435.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.1302, allocations: 4 kB / 435.7 MB, free: 11.68 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.0001421/0.1303, allocations: 137.6 kB / 435.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.1304, allocations: 19.84 kB / 435.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004216/0.1308, allocations: 163.1 kB / 436 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1308, allocations: 0 / 436 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.1308, allocations: 0 / 436 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1308, allocations: 0 / 436 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.131, allocations: 221.6 kB / 436.3 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.1311, allocations: 4 kB / 436.3 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.706e-05/0.1311, allocations: 8 kB / 436.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001798/0.1313, allocations: 84.73 kB / 436.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1313, allocations: 0 / 436.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.133, allocations: 1.606 MB / 438 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.133, allocations: 0 / 438 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004635/0.1335, allocations: 252.3 kB / 438.2 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/0.1335, allocations: 97.08 kB / 438.3 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.1335, allocations: 0 / 438.3 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.1337, allocations: 15.98 kB / 438.3 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.1337, allocations: 11.98 kB / 438.3 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.1338, allocations: 0 / 438.3 MB, free: 8.832 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.458e-05/0.1338, allocations: 116.3 kB / 438.4 MB, free: 8.719 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1338, allocations: 0 / 438.4 MB, free: 8.719 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003095/0.1342, allocations: 47.94 kB / 438.5 MB, free: 8.672 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.0007805/0.1349, allocations: 0.7835 MB / 439.3 MB, free: 7.859 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007137/0.1357, allocations: 306 kB / 439.6 MB, free: 7.535 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.1357, allocations: 8 kB / 439.6 MB, free: 7.527 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.136, allocations: 166.6 kB / 439.7 MB, free: 7.352 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.1363, allocations: 32.42 kB / 439.8 MB, free: 7.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.1391, allocations: 1.973 MB / 441.7 MB, free: 5.242 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.1394, allocations: 0.7045 MB / 442.4 MB, free: 4.512 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.768e-05/0.1395, allocations: 8.547 kB / 442.5 MB, free: 4.504 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.409e-05/0.1396, allocations: 35.42 kB / 442.5 MB, free: 4.469 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1396, allocations: 4 kB / 442.5 MB, free: 4.465 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03405/0.1736, allocations: 4.506 MB / 447 MB, free: 140 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.59, allocations: 11.42 kB / 447 MB, free: 132 kB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_DemoPowerSupply.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.254191373940557] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcPowerSupply.v', 'dcPowerSupply.i', 'dcPowerSupply.P'] 11.893661545123905 11.904330766 11.781479732 Calling exit ...