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.001316/0.001316, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001446/0.001446, allocations: 212 kB / 24.54 MB, free: 4.016 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.423/1.423, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.001901/0.001901, allocations: 68.77 kB / 378.6 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2762, allocations: 53.37 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003356/0.2796, allocations: 2.077 MB / 434 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.2806, allocations: 0.5843 MB / 434.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.174e-05/0.2807, allocations: 0 / 434.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.2808, allocations: 19.8 kB / 434.6 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.821e-05/0.2809, allocations: 39.69 kB / 434.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.2811, allocations: 67.84 kB / 434.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.2814, allocations: 215.3 kB / 434.9 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.2816, allocations: 29.25 kB / 435 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.2817, allocations: 87.7 kB / 435 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.2819, allocations: 95.7 kB / 435.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.2819, allocations: 20 kB / 435.2 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.972e-05/0.282, allocations: 20 kB / 435.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.829e-05/0.282, allocations: 31.91 kB / 435.2 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.674e-05/0.2821, allocations: 79.66 kB / 435.3 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.2824, allocations: 183.3 kB / 435.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2824, allocations: 0 / 435.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2824, allocations: 0 / 435.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.2824, allocations: 0 / 435.5 MB, free: 3.355 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007644/0.2832, allocations: 423.4 kB / 435.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2832, allocations: 8.031 kB / 435.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.916e-05/0.2833, allocations: 50.73 kB / 435.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.2834, allocations: 20.84 kB / 436 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.2837, allocations: 154.3 kB / 436.1 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.2838, allocations: 141.1 kB / 436.2 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.2838, allocations: 12.38 kB / 436.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.2841, allocations: 129.6 kB / 436.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2841, allocations: 0 / 436.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.2841, allocations: 4 kB / 436.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.2841, allocations: 7.938 kB / 436.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002953/0.2844, allocations: 119.7 kB / 436.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008157/0.2853, allocations: 490.4 kB / 437 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/0.2856, allocations: 98.72 kB / 437.1 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.2857, allocations: 52.77 kB / 437.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.2857, allocations: 4 kB / 437.1 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.2858, allocations: 38.5 kB / 437.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.735e-06/0.2858, allocations: 3.984 kB / 437.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007599/0.2865, allocations: 218.3 kB / 437.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.2866, allocations: 59.41 kB / 437.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.2867, allocations: 156.6 kB / 437.6 MB, free: 1 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.2867, allocations: 25.7 kB / 437.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.125e-05/0.2868, allocations: 116 kB / 437.7 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.2869, allocations: 31.78 kB / 437.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.43e-05/0.2869, allocations: 29.72 kB / 437.8 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2871, allocations: 322.8 kB / 438.1 MB, free: 472 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.2872, allocations: 71.97 kB / 438.2 MB, free: 400 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.2874, allocations: 78.53 kB / 438.3 MB, free: 312 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.2877, allocations: 140.2 kB / 438.4 MB, free: 156 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2877, allocations: 4 kB / 438.4 MB, free: 152 kB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005969/0.2883, allocations: 271.8 kB / 438.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.2883, allocations: 33.7 kB / 438.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2883, allocations: 4 kB / 438.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002365/0.2886, allocations: 72.88 kB / 438.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.57e-05/0.2887, allocations: 15.98 kB / 438.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.2905, allocations: 1.515 MB / 440.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003215/0.2908, allocations: 52.05 kB / 440.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.2908, allocations: 4 kB / 440.4 MB, free: 14.05 MB / 350.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.0001233/0.2909, allocations: 129.8 kB / 440.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.291, allocations: 19.78 kB / 440.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004051/0.2914, allocations: 175.1 kB / 440.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2914, allocations: 4 kB / 440.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.2914, allocations: 0 / 440.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2914, allocations: 0 / 440.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.2916, allocations: 180.7 kB / 440.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2916, allocations: 0 / 440.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.771e-05/0.2917, allocations: 15.92 kB / 440.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001639/0.2919, allocations: 84.75 kB / 441 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.2919, allocations: 0 / 441 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/0.2934, allocations: 1.51 MB / 442.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2934, allocations: 0 / 442.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/0.2938, allocations: 252.3 kB / 442.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.042e-05/0.2938, allocations: 15.89 kB / 442.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.2938, allocations: 0 / 442.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.294, allocations: 19.98 kB / 442.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.294, allocations: 7.984 kB / 442.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.2941, allocations: 0 / 442.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.365e-05/0.2941, allocations: 115.2 kB / 442.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2941, allocations: 4 kB / 442.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002871/0.2944, allocations: 51.94 kB / 442.9 MB, free: 11.28 MB / 350.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.0006909/0.2951, allocations: 0.7785 MB / 443.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000596/0.2957, allocations: 313.8 kB / 444 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.2957, allocations: 0 / 444 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002776/0.296, allocations: 174.6 kB / 444.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.2963, allocations: 31.97 kB / 444.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.2989, allocations: 1.96 MB / 446.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.2992, allocations: 0.7084 MB / 446.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.991e-05/0.2993, allocations: 4.5 kB / 446.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.358e-05/0.2993, allocations: 39.42 kB / 446.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2993, allocations: 0 / 446.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04096/0.3403, allocations: 4.59 MB / 451.5 MB, free: 2.652 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.7, allocations: 8.453 kB / 451.5 MB, free: 2.648 MB / 350.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.145278248004615] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcPowerSupply.v', 'dcPowerSupply.i', 'dcPowerSupply.P'] 11.793162621557713 11.818456292 11.531576022 Calling exit ...