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.001361/0.001361, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001529/0.001529, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.45/1.45, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.002116/0.002116, allocations: 67.89 kB / 378.6 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2716, allocations: 53.4 MB / 432 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003799/0.2754, allocations: 2.071 MB / 434 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.2767, allocations: 0.5882 MB / 434.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.2769, allocations: 4 kB / 434.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.277, allocations: 19.8 kB / 434.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.2771, allocations: 47.62 kB / 434.7 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.2774, allocations: 63.84 kB / 434.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000311/0.2777, allocations: 207.4 kB / 435 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.2779, allocations: 33.25 kB / 435 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.278, allocations: 87.7 kB / 435.1 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.2782, allocations: 87.7 kB / 435.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/0.2783, allocations: 24 kB / 435.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.007e-05/0.2784, allocations: 24 kB / 435.2 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.232e-05/0.2784, allocations: 27.91 kB / 435.2 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.875e-05/0.2785, allocations: 79.66 kB / 435.3 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.2788, allocations: 195.6 kB / 435.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2788, allocations: 0 / 435.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2788, allocations: 0 / 435.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.2788, allocations: 0 / 435.5 MB, free: 3.133 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.0008885/0.2797, allocations: 423.4 kB / 435.9 MB, free: 2.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.2798, allocations: 8.031 kB / 435.9 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.042e-05/0.2798, allocations: 4.188 kB / 435.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.255e-05/0.2798, allocations: 50.73 kB / 436 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.28, allocations: 20.84 kB / 436 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.2803, allocations: 153.1 kB / 436.2 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.2805, allocations: 149 kB / 436.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.2805, allocations: 20.12 kB / 436.3 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003297/0.2809, allocations: 124.5 kB / 436.4 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2809, allocations: 0 / 436.4 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.2809, allocations: 8 kB / 436.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.2809, allocations: 3.938 kB / 436.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003274/0.2812, allocations: 111.9 kB / 436.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009311/0.2822, allocations: 490.4 kB / 437 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.2825, allocations: 102.7 kB / 437.2 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.2827, allocations: 48.83 kB / 437.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.2827, allocations: 7.938 kB / 437.2 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.2827, allocations: 34.56 kB / 437.2 MB, free: 1.242 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.2827, allocations: 3.938 kB / 437.2 MB, free: 1.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008889/0.2836, allocations: 226.3 kB / 437.5 MB, free: 1.008 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.2836, allocations: 51.41 kB / 437.5 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.2838, allocations: 157.9 kB / 437.7 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.2838, allocations: 29.7 kB / 437.7 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/0.2839, allocations: 116 kB / 437.8 MB, free: 0.625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.2839, allocations: 31.78 kB / 437.8 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.603e-05/0.284, allocations: 33.66 kB / 437.9 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2842, allocations: 322.8 kB / 438.2 MB, free: 236 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.2844, allocations: 59.97 kB / 438.2 MB, free: 176 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.2846, allocations: 86.17 kB / 438.3 MB, free: 84 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.2849, allocations: 140.2 kB / 438.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.2849, allocations: 7.938 kB / 438.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006445/0.2856, allocations: 259.9 kB / 438.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/0.2856, allocations: 33.7 kB / 438.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2856, allocations: 0 / 438.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002633/0.2859, allocations: 84.86 kB / 438.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.101e-05/0.286, allocations: 11.98 kB / 438.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/0.2881, allocations: 1.525 MB / 440.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.2884, allocations: 44.02 kB / 440.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.2885, allocations: 4 kB / 440.4 MB, free: 13.83 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.0001615/0.2886, allocations: 125.8 kB / 440.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.2887, allocations: 19.84 kB / 440.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004642/0.2891, allocations: 175.5 kB / 440.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.2891, allocations: 3.984 kB / 440.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.2891, allocations: 96 / 440.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2891, allocations: 3.938 kB / 440.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.2894, allocations: 184.7 kB / 440.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.2894, allocations: 0 / 440.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.806e-05/0.2895, allocations: 11.98 kB / 440.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001875/0.2897, allocations: 80.75 kB / 441 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.2897, allocations: 0 / 441 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/0.2914, allocations: 1.499 MB / 442.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2914, allocations: 32 / 442.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004678/0.2919, allocations: 260.2 kB / 442.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/0.2919, allocations: 15.89 kB / 442.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.2919, allocations: 3.984 kB / 442.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.2921, allocations: 11.98 kB / 442.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.273e-05/0.2921, allocations: 11.98 kB / 442.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.2922, allocations: 4 kB / 442.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.2923, allocations: 115.2 kB / 442.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2923, allocations: 4 kB / 442.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003324/0.2926, allocations: 47.94 kB / 443 MB, free: 11.07 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.0008374/0.2934, allocations: 0.7824 MB / 443.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007451/0.2942, allocations: 314.1 kB / 444.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2942, allocations: 0 / 444.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.2945, allocations: 170.8 kB / 444.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.2949, allocations: 30.55 kB / 444.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.298, allocations: 1.965 MB / 446.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.2984, allocations: 0.7084 MB / 446.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.235e-05/0.2985, allocations: 8.5 kB / 447 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.546e-05/0.2986, allocations: 31.42 kB / 447 MB, free: 6.883 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2986, allocations: 0 / 447 MB, free: 6.883 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03231/0.3309, allocations: 4.644 MB / 451.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/12.81, allocations: 11.98 kB / 451.6 MB, free: 2.359 MB / 350.1 MB " [Timeout remaining time 647] (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: 15.329018924967386] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcPowerSupply.v', 'dcPowerSupply.i', 'dcPowerSupply.P'] 12.988298835000023 13.012394334 12.729290473 Calling exit ...