Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.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.001232/0.001232, allocations: 109.2 kB / 19.8 MB, free: 2.516 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.001354/0.001354, allocations: 216.3 kB / 23 MB, free: 5.605 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 / 256.5 MB, free: 8.438 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.DemoPowerSupplyWithBuffer,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_DemoPowerSupplyWithBuffer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_DemoPowerSupplyWithBuffer",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.002533/0.002533, allocations: 71.83 kB / 376.2 MB, free: 4.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2925, allocations: 53.32 MB / 429.5 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.004095/0.2966, allocations: 2.651 MB / 432.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.2979, allocations: 0.6778 MB / 432.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.2981, allocations: 4 kB / 432.9 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.2982, allocations: 39.59 kB / 432.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.2984, allocations: 79.27 kB / 433 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.2987, allocations: 99.8 kB / 433.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000433/0.2991, allocations: 362.7 kB / 433.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.2993, allocations: 60.33 kB / 433.5 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.2994, allocations: 139.5 kB / 433.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.2997, allocations: 155.4 kB / 433.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.427e-05/0.2997, allocations: 28 kB / 433.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.539e-05/0.2998, allocations: 35.94 kB / 433.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.638e-05/0.2998, allocations: 55.83 kB / 433.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.3, allocations: 155.2 kB / 434.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004115/0.3004, allocations: 335.7 kB / 434.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3004, allocations: 0 / 434.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3004, allocations: 0 / 434.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.3004, allocations: 0 / 434.4 MB, free: 2.578 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001148/0.3016, allocations: 0.6386 MB / 435 MB, free: 1.879 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3016, allocations: 12.03 kB / 435 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.928e-05/0.3017, allocations: 58.72 kB / 435.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.591e-05/0.3018, allocations: 36.75 kB / 435.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.3021, allocations: 251.9 kB / 435.4 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.3023, allocations: 94.11 kB / 435.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.809e-05/0.3023, allocations: 28.38 kB / 435.5 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005412/0.3029, allocations: 265.6 kB / 435.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3029, allocations: 0 / 435.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.3029, allocations: 7.984 kB / 435.8 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3029, allocations: 8 kB / 435.8 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005191/0.3034, allocations: 193.6 kB / 436 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.3047, allocations: 0.8596 MB / 436.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.3052, allocations: 190.6 kB / 437 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.3055, allocations: 119.9 kB / 437.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.3055, allocations: 4 kB / 437.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004003/0.3059, allocations: 187.6 kB / 437.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.382e-06/0.3059, allocations: 0 / 437.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001493/0.3074, allocations: 487.6 kB / 437.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.752e-05/0.3075, allocations: 110.8 kB / 437.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.3077, allocations: 214.8 kB / 438.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.3078, allocations: 33.7 kB / 438.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.3079, allocations: 148.4 kB / 438.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.023e-05/0.308, allocations: 67.34 kB / 438.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.3081, allocations: 61.92 kB / 438.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3082, allocations: 326.8 kB / 438.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.3085, allocations: 96.17 kB / 438.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.3088, allocations: 139.8 kB / 439 MB, free: 13.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004965/0.3093, allocations: 250.9 kB / 439.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3093, allocations: 4.031 kB / 439.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008182/0.3101, allocations: 403.4 kB / 439.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.668e-05/0.3102, allocations: 67.39 kB / 439.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3102, allocations: 4 kB / 439.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003644/0.3106, allocations: 108.8 kB / 439.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.3107, allocations: 31.97 kB / 439.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002659/0.3134, allocations: 2.076 MB / 441.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/0.3139, allocations: 71.92 kB / 442 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.3139, allocations: 8 kB / 442 MB, free: 10.48 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: 9 (dcPowerSupply.cp,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,diode.off,dcPowerSupply.cc,dcPowerSupply.cv,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001695/0.314, allocations: 141.8 kB / 442.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.3141, allocations: 27.8 kB / 442.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.072e-05/0.3142, allocations: 29.84 kB / 442.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3142, allocations: 0 / 442.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3142, allocations: 4 kB / 442.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3142, allocations: 0 / 442.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005366/0.3147, allocations: 451 kB / 442.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.3147, allocations: 4 kB / 442.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.3149, allocations: 32 kB / 442.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002774/0.3151, allocations: 104.9 kB / 442.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.3152, allocations: 4 kB / 442.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00233/0.3175, allocations: 2.069 MB / 444.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3175, allocations: 160 / 444.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00089/0.3184, allocations: 411.2 kB / 445.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.3185, allocations: 116.9 kB / 445.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.3185, allocations: 4 kB / 445.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.3187, allocations: 23.97 kB / 445.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.295e-05/0.3188, allocations: 23.97 kB / 445.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.3188, allocations: 8 kB / 445.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.319, allocations: 148.6 kB / 445.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.319, allocations: 4.062 kB / 445.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004246/0.3194, allocations: 91.89 kB / 445.6 MB, free: 6.559 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (bufferCapacitor.v) * Number of discrete variables: 6 ($whenCondition1,dcPowerSupply.cv,dcPowerSupply.cc,diode.off,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001226/0.3206, allocations: 0.937 MB / 446.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009849/0.3216, allocations: 469.1 kB / 447 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3216, allocations: 0 / 447 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004689/0.3221, allocations: 250.7 kB / 447.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.3224, allocations: 58.38 kB / 447.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004375/0.3268, allocations: 2.732 MB / 450.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.3272, allocations: 0.748 MB / 450.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.654e-05/0.3273, allocations: 13.95 kB / 450.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.3274, allocations: 67.42 kB / 450.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3274, allocations: 0 / 450.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03685/0.3643, allocations: 7.187 MB / 458.1 MB, free: 10.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.76, allocations: 7.875 kB / 458.1 MB, free: 10.03 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_DemoPowerSupplyWithBuffer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_DemoPowerSupplyWithBuffer.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.985740891017485] Failed to read output from testmodel.py, exit status != 0: 11.848790302989073 11.862675618 11.559193448 Calling exit ...