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.001334/0.001334, allocations: 108.5 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.001386/0.001386, allocations: 218.5 kB / 23 MB, free: 5.609 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.403/1.403, allocations: 230.4 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.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.0019/0.0019, allocations: 68.12 kB / 376.2 MB, free: 4.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2494, allocations: 53.32 MB / 429.5 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003413/0.2528, allocations: 2.075 MB / 431.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.2539, allocations: 0.5805 MB / 432.2 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.751e-05/0.2539, allocations: 4 kB / 432.2 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.2541, allocations: 15.8 kB / 432.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.2542, allocations: 43.64 kB / 432.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.2544, allocations: 75.83 kB / 432.3 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.2548, allocations: 203.4 kB / 432.5 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.2549, allocations: 33.06 kB / 432.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.255, allocations: 83.7 kB / 432.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.2552, allocations: 87.7 kB / 432.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.2552, allocations: 20 kB / 432.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.905e-05/0.2553, allocations: 20 kB / 432.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.947e-05/0.2553, allocations: 35.91 kB / 432.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.09e-05/0.2554, allocations: 83.64 kB / 432.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.2557, allocations: 187.6 kB / 433.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2557, allocations: 0 / 433.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2557, allocations: 0 / 433.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.2557, allocations: 4 kB / 433.1 MB, free: 3.875 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.0007802/0.2565, allocations: 492.5 kB / 433.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.2565, allocations: 16.03 kB / 433.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.078e-05/0.2566, allocations: 46.73 kB / 433.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.2567, allocations: 20.84 kB / 433.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.257, allocations: 208.2 kB / 433.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.2571, allocations: 93.61 kB / 433.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.2571, allocations: 12.38 kB / 433.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.2574, allocations: 125.6 kB / 434.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.2574, allocations: 4 kB / 434.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.2574, allocations: 4 kB / 434.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2574, allocations: 4 kB / 434.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003134/0.2577, allocations: 115.7 kB / 434.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008714/0.2586, allocations: 0.5149 MB / 434.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003641/0.259, allocations: 110.7 kB / 434.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.2591, allocations: 44.83 kB / 434.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.2591, allocations: 0 / 434.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.2592, allocations: 46.5 kB / 434.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.2592, allocations: 3.938 kB / 434.9 MB, free: 1.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008326/0.26, allocations: 291.4 kB / 435.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.26, allocations: 55.41 kB / 435.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.2602, allocations: 151.5 kB / 435.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.2602, allocations: 29.7 kB / 435.4 MB, free: 1.262 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.909e-05/0.2603, allocations: 119.9 kB / 435.5 MB, free: 1.141 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.2603, allocations: 31.78 kB / 435.6 MB, free: 1.109 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-05/0.2604, allocations: 29.72 kB / 435.6 MB, free: 1.074 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.2606, allocations: 326.8 kB / 435.9 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.2607, allocations: 55.97 kB / 436 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.2609, allocations: 90.53 kB / 436.1 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.2612, allocations: 140.2 kB / 436.2 MB, free: 452 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2612, allocations: 0 / 436.2 MB, free: 452 kB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006018/0.2618, allocations: 271.9 kB / 436.5 MB, free: 164 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.106e-05/0.2619, allocations: 29.7 kB / 436.5 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2619, allocations: 4 kB / 436.5 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002325/0.2621, allocations: 76.88 kB / 436.6 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-05/0.2622, allocations: 15.98 kB / 436.6 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/0.2641, allocations: 1.621 MB / 438.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.2644, allocations: 48.05 kB / 438.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.2644, allocations: 8 kB / 438.3 MB, free: 14.2 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.0001186/0.2645, allocations: 125.8 kB / 438.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.2646, allocations: 15.84 kB / 438.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004047/0.265, allocations: 163.6 kB / 438.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.265, allocations: 0 / 438.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.51e-07/0.265, allocations: 4.094 kB / 438.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.265, allocations: 7.938 kB / 438.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.2652, allocations: 217.5 kB / 438.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2652, allocations: 0 / 438.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.499e-05/0.2653, allocations: 11.98 kB / 438.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000177/0.2655, allocations: 84.92 kB / 438.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.2655, allocations: 8 kB / 438.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/0.2671, allocations: 1.595 MB / 440.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.2671, allocations: 3.984 kB / 440.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.2675, allocations: 252.2 kB / 440.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/0.2676, allocations: 89.02 kB / 440.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.2676, allocations: 8.062 kB / 440.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.2677, allocations: 11.98 kB / 440.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.2678, allocations: 11.98 kB / 440.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.2678, allocations: 4 kB / 440.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.335e-05/0.2679, allocations: 112.3 kB / 441 MB, free: 11.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2679, allocations: 0 / 441 MB, free: 11.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003013/0.2682, allocations: 47.94 kB / 441 MB, free: 11.21 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.0007796/0.269, allocations: 0.794 MB / 441.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006335/0.2696, allocations: 306.2 kB / 442.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2696, allocations: 0 / 442.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.2699, allocations: 174.8 kB / 442.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.2703, allocations: 26.89 kB / 442.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.273, allocations: 1.971 MB / 444.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.2733, allocations: 0.7084 MB / 445 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.232e-05/0.2734, allocations: 12.53 kB / 445 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.2734, allocations: 35.42 kB / 445 MB, free: 7 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2734, allocations: 0 / 445 MB, free: 7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0305/0.3039, allocations: 4.514 MB / 449.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.5, allocations: 10.75 kB / 449.6 MB, free: 2.617 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 --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_DemoPowerSupply_fmu --startTime=0 --stopTime=1 --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: 13.657258126011584] Failed to read output from testmodel.py, exit status != 0: 11.586169243993936 11.601621832 11.342979128 Calling exit ...