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.001755/0.001755, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002241/0.002241, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.001931/0.001931, allocations: 64.77 kB / 378.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2716, allocations: 53.36 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003662/0.2752, allocations: 2.083 MB / 434 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.2763, allocations: 0.5805 MB / 434.6 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.855e-05/0.2764, allocations: 0 / 434.6 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.2765, allocations: 19.8 kB / 434.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.441e-05/0.2766, allocations: 39.64 kB / 434.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.2769, allocations: 75.84 kB / 434.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002896/0.2772, allocations: 211.4 kB / 434.9 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.2773, allocations: 35.86 kB / 435 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.2775, allocations: 87.7 kB / 435 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.2777, allocations: 83.72 kB / 435.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.43e-05/0.2777, allocations: 20 kB / 435.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.19e-05/0.2778, allocations: 20 kB / 435.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.55e-05/0.2778, allocations: 39.83 kB / 435.2 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.642e-05/0.2779, allocations: 75.72 kB / 435.3 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.2782, allocations: 195.2 kB / 435.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2782, allocations: 0 / 435.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2782, allocations: 0 / 435.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.2782, allocations: 0 / 435.5 MB, free: 3.34 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.0008129/0.279, allocations: 415.4 kB / 435.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.2791, allocations: 8.031 kB / 435.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.026e-05/0.2791, allocations: 50.73 kB / 435.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.2793, allocations: 24.84 kB / 436 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.2796, allocations: 154.3 kB / 436.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.2797, allocations: 149 kB / 436.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.2797, allocations: 8.375 kB / 436.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.28, allocations: 129.6 kB / 436.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.2801, allocations: 0 / 436.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.2801, allocations: 4 kB / 436.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.2801, allocations: 4 kB / 436.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.2804, allocations: 115.8 kB / 436.5 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008477/0.2812, allocations: 482.4 kB / 437 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.2816, allocations: 118.6 kB / 437.1 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.2817, allocations: 48.83 kB / 437.1 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.2817, allocations: 0 / 437.1 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.2818, allocations: 34.5 kB / 437.2 MB, free: 1.457 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 8.82e-07/0.2818, allocations: 0 / 437.2 MB, free: 1.457 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008599/0.2826, allocations: 226.3 kB / 437.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.2827, allocations: 55.41 kB / 437.4 MB, free: 1.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.2828, allocations: 154.2 kB / 437.6 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.2829, allocations: 29.7 kB / 437.6 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.836e-05/0.283, allocations: 116 kB / 437.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.283, allocations: 31.75 kB / 437.8 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.06e-05/0.283, allocations: 29.7 kB / 437.8 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2832, allocations: 326.8 kB / 438.1 MB, free: 460 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.2834, allocations: 59.97 kB / 438.2 MB, free: 400 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.2836, allocations: 78.53 kB / 438.3 MB, free: 312 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.2839, allocations: 152.2 kB / 438.4 MB, free: 144 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2839, allocations: 0 / 438.4 MB, free: 144 kB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006332/0.2845, allocations: 275.8 kB / 438.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.704e-05/0.2846, allocations: 29.7 kB / 438.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2846, allocations: 4 kB / 438.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002393/0.2848, allocations: 68.81 kB / 438.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.45e-05/0.2849, allocations: 20.05 kB / 438.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.2867, allocations: 1.518 MB / 440.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.287, allocations: 47.98 kB / 440.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.2871, allocations: 8.453 kB / 440.4 MB, free: 14.04 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.00014/0.2872, allocations: 133.8 kB / 440.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.956e-05/0.2872, allocations: 15.84 kB / 440.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000412/0.2876, allocations: 167 kB / 440.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.2877, allocations: 4 kB / 440.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.2877, allocations: 0 / 440.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.2877, allocations: 3.984 kB / 440.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.2879, allocations: 184.7 kB / 440.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2879, allocations: 4 kB / 440.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.719e-05/0.288, allocations: 11.98 kB / 440.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001686/0.2881, allocations: 72.77 kB / 441 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.2882, allocations: 0 / 441 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.2898, allocations: 1.514 MB / 442.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2898, allocations: 4.062 kB / 442.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004165/0.2902, allocations: 248.2 kB / 442.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.2902, allocations: 11.91 kB / 442.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.2902, allocations: 4 kB / 442.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.2904, allocations: 19.98 kB / 442.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.2904, allocations: 15.91 kB / 442.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.2904, allocations: 4 kB / 442.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.184e-05/0.2905, allocations: 111.2 kB / 442.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2905, allocations: 4 kB / 442.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.2908, allocations: 47.94 kB / 442.9 MB, free: 11.27 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.0007537/0.2916, allocations: 0.7798 MB / 443.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006624/0.2922, allocations: 309.8 kB / 444 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2922, allocations: 0 / 444 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.2925, allocations: 166.8 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.000325/0.2929, allocations: 34.88 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.002759/0.2956, allocations: 1.969 MB / 446.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.296, allocations: 0.7122 MB / 446.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.718e-05/0.296, allocations: 12.47 kB / 446.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.895e-05/0.2961, allocations: 31.44 kB / 446.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2961, allocations: 0 / 446.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04468/0.3408, allocations: 4.574 MB / 451.5 MB, free: 2.652 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12, allocations: 10.05 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_DemoPowerSupply_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.363668583799154] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcPowerSupply.v', 'dcPowerSupply.i', 'dcPowerSupply.P'] 12.099649850279093 12.128790813 11.845241089 Calling exit ...