Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 201.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.396/1.396, allocations: 230.6 MB / 258.3 MB, free: 8.008 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupply,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DemoPowerSupply",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupply,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DemoPowerSupply",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 47.92 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2583, allocations: 53.37 MB / 431.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003367/0.2616, allocations: 2.069 MB / 434 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.2627, allocations: 0.5882 MB / 434.6 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.494e-05/0.2628, allocations: 4 kB / 434.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.2629, allocations: 27.78 kB / 434.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.749e-05/0.263, allocations: 31.72 kB / 434.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.2632, allocations: 71.83 kB / 434.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.2635, allocations: 207.3 kB / 434.9 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.2636, allocations: 33.25 kB / 435 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.2638, allocations: 91.69 kB / 435.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.264, allocations: 83.72 kB / 435.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.264, allocations: 24 kB / 435.2 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.623e-05/0.2641, allocations: 24 kB / 435.2 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.802e-05/0.2641, allocations: 31.91 kB / 435.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.2642, allocations: 79.64 kB / 435.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.2645, allocations: 191.7 kB / 435.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2645, allocations: 0 / 435.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2645, allocations: 0 / 435.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.2645, allocations: 0 / 435.5 MB, free: 3.301 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.0007419/0.2652, allocations: 415.4 kB / 435.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2653, allocations: 12.02 kB / 435.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.503e-05/0.2653, allocations: 4.188 kB / 435.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.708e-05/0.2653, allocations: 46.69 kB / 435.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.2655, allocations: 20.84 kB / 436 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.2658, allocations: 153.5 kB / 436.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.2659, allocations: 145.1 kB / 436.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.2659, allocations: 20.12 kB / 436.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.2662, allocations: 127 kB / 436.4 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2662, allocations: 7.984 kB / 436.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.2662, allocations: 4 kB / 436.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2662, allocations: 7.938 kB / 436.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000304/0.2665, allocations: 103.9 kB / 436.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008225/0.2674, allocations: 490.4 kB / 437 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.2677, allocations: 110.6 kB / 437.1 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.2678, allocations: 44.84 kB / 437.1 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.2679, allocations: 11.92 kB / 437.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.2679, allocations: 34.56 kB / 437.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.2679, allocations: 0 / 437.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008155/0.2687, allocations: 226.3 kB / 437.4 MB, free: 1.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.2687, allocations: 55.39 kB / 437.5 MB, free: 1.113 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.2689, allocations: 152.2 kB / 437.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.2689, allocations: 29.7 kB / 437.6 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.269, allocations: 116 kB / 437.8 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.269, allocations: 27.8 kB / 437.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.459e-05/0.2691, allocations: 33.7 kB / 437.8 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2692, allocations: 322.8 kB / 438.1 MB, free: 416 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.2694, allocations: 63.97 kB / 438.2 MB, free: 352 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.2696, allocations: 82.5 kB / 438.3 MB, free: 260 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.2699, allocations: 140.2 kB / 438.4 MB, free: 104 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2699, allocations: 3.938 kB / 438.4 MB, free: 100 kB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006286/0.2705, allocations: 267.9 kB / 438.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.977e-05/0.2706, allocations: 41.69 kB / 438.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2706, allocations: 0 / 438.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002289/0.2708, allocations: 72.89 kB / 438.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.796e-05/0.2709, allocations: 15.98 kB / 438.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.2726, allocations: 1.521 MB / 440.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.2729, allocations: 44.05 kB / 440.4 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.273, allocations: 4 kB / 440.4 MB, free: 14 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.0001211/0.2731, allocations: 121.8 kB / 440.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.2731, allocations: 27.77 kB / 440.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004103/0.2735, allocations: 167.1 kB / 440.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2735, allocations: 0.75 kB / 440.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.2735, allocations: 7.938 kB / 440.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2735, allocations: 0 / 440.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.2738, allocations: 188.7 kB / 440.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2738, allocations: 0 / 440.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.396e-05/0.2739, allocations: 11.98 kB / 440.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001655/0.274, allocations: 84.69 kB / 441 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.274, allocations: 0 / 441 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.2757, allocations: 1.514 MB / 442.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2757, allocations: 4.219 kB / 442.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004258/0.2761, allocations: 252.2 kB / 442.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.2761, allocations: 15.91 kB / 442.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.2761, allocations: 0 / 442.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.2763, allocations: 15.98 kB / 442.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.445e-05/0.2763, allocations: 11.97 kB / 442.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.2763, allocations: 4 kB / 442.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.775e-05/0.2764, allocations: 112.9 kB / 442.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2764, allocations: 4 kB / 442.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003235/0.2768, allocations: 47.94 kB / 442.9 MB, free: 11.23 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.0008047/0.2776, allocations: 0.7858 MB / 443.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006662/0.2782, allocations: 305.9 kB / 444 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2782, allocations: 0 / 444 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.2785, allocations: 171 kB / 444.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.2789, allocations: 32.17 kB / 444.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/0.2817, allocations: 1.96 MB / 446.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.282, allocations: 0.7123 MB / 446.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.505e-05/0.2821, allocations: 12.48 kB / 446.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.339e-05/0.2822, allocations: 35.42 kB / 446.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2822, allocations: 0 / 446.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.3103, allocations: 4.646 MB / 451.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.33, allocations: 2.969 kB / 451.6 MB, free: 2.559 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DemoPowerSupply_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_DemoPowerSupply.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.742343626043294] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcPowerSupply.v', 'dcPowerSupply.i', 'dcPowerSupply.P'] 12.49582453496987 12.510932043 12.243448121 Calling exit ...