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.001725/0.001725, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002029/0.002029, allocations: 213.5 kB / 24.52 MB, free: 3.918 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.491/1.491, allocations: 230.5 MB / 258.2 MB, free: 7.746 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.001927/0.001927, allocations: 63.89 kB / 378.5 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3319, allocations: 53.39 MB / 431.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003426/0.3353, allocations: 1.993 MB / 433.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.3365, allocations: 0.5433 MB / 434.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.3366, allocations: 7.938 kB / 434.5 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.3367, allocations: 11.86 kB / 434.5 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.3368, allocations: 43.62 kB / 434.5 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.3372, allocations: 71.84 kB / 434.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.3376, allocations: 211.3 kB / 434.8 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.3377, allocations: 41.23 kB / 434.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.3379, allocations: 75.83 kB / 434.9 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.3382, allocations: 91.66 kB / 435 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.344e-05/0.3382, allocations: 16 kB / 435 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.755e-05/0.3383, allocations: 20 kB / 435 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.989e-05/0.3383, allocations: 39.84 kB / 435.1 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.3384, allocations: 71.69 kB / 435.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.3388, allocations: 187.3 kB / 435.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3388, allocations: 3.938 kB / 435.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3388, allocations: 0 / 435.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.3388, allocations: 0 / 435.3 MB, free: 3.023 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.0008498/0.3397, allocations: 415.4 kB / 435.7 MB, free: 2.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3397, allocations: 8.031 kB / 435.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.6e-05/0.3397, allocations: 4.188 kB / 435.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/0.3398, allocations: 46.73 kB / 435.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.3399, allocations: 28.78 kB / 435.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.3402, allocations: 161.1 kB / 436 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.3404, allocations: 145.1 kB / 436.1 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.3404, allocations: 20.12 kB / 436.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.3407, allocations: 205.6 kB / 436.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3408, allocations: 3.984 kB / 436.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.3408, allocations: 4 kB / 436.3 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.3408, allocations: 4 kB / 436.3 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.3411, allocations: 103.9 kB / 436.4 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008676/0.3419, allocations: 458.5 kB / 436.9 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.3423, allocations: 106.7 kB / 437 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.3425, allocations: 44.83 kB / 437 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.3425, allocations: 7.938 kB / 437.1 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.3425, allocations: 34.5 kB / 437.1 MB, free: 1.074 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.3425, allocations: 0 / 437.1 MB, free: 1.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009846/0.3435, allocations: 230.3 kB / 437.3 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.3436, allocations: 55.41 kB / 437.4 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.3438, allocations: 153.9 kB / 437.5 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.3438, allocations: 29.7 kB / 437.5 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.344, allocations: 116 kB / 437.7 MB, free: 468 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.344, allocations: 19.81 kB / 437.7 MB, free: 448 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.3441, allocations: 33.7 kB / 437.7 MB, free: 408 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.3443, allocations: 330.8 kB / 438 MB, free: 68 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.3446, allocations: 85.72 kB / 438.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.3448, allocations: 115.1 kB / 438.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/0.3452, allocations: 144.2 kB / 438.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.3452, allocations: 3.938 kB / 438.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006816/0.3459, allocations: 289.7 kB / 438.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.55e-05/0.3459, allocations: 41.69 kB / 438.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.3459, allocations: 3.984 kB / 438.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002726/0.3462, allocations: 73.3 kB / 438.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.3463, allocations: 15.98 kB / 438.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.3482, allocations: 1.518 MB / 440.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/0.3485, allocations: 48.05 kB / 440.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.3485, allocations: 11.98 kB / 440.4 MB, free: 13.55 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.0001549/0.3487, allocations: 121.8 kB / 440.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.3487, allocations: 15.84 kB / 440.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004452/0.3492, allocations: 171.1 kB / 440.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3492, allocations: 0 / 440.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.82e-07/0.3492, allocations: 0 / 440.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.3492, allocations: 3.984 kB / 440.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.3494, allocations: 172.7 kB / 440.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3494, allocations: 0 / 440.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.388e-05/0.3495, allocations: 15.98 kB / 440.9 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001724/0.3497, allocations: 72.77 kB / 440.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.3497, allocations: 0 / 440.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/0.3512, allocations: 1.499 MB / 442.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3512, allocations: 0 / 442.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004129/0.3517, allocations: 256.3 kB / 442.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.3517, allocations: 7.906 kB / 442.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.3517, allocations: 11.98 kB / 442.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.3518, allocations: 11.98 kB / 442.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.3519, allocations: 15.92 kB / 442.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.3519, allocations: 0 / 442.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.672e-05/0.352, allocations: 118.8 kB / 442.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.352, allocations: 0 / 442.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003108/0.3523, allocations: 47.94 kB / 442.9 MB, free: 10.83 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.0008005/0.3531, allocations: 0.7836 MB / 443.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006862/0.3538, allocations: 331.6 kB / 444 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.3538, allocations: 4 kB / 444 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00029/0.3541, allocations: 166.8 kB / 444.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.3545, allocations: 27.92 kB / 444.2 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.3573, allocations: 2.096 MB / 446.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.711e-05/0.3574, allocations: 93.61 kB / 446.4 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.475e-05/0.3574, allocations: 12.48 kB / 446.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/0.3575, allocations: 35.42 kB / 446.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3575, allocations: 480 / 446.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02813/0.3856, allocations: 4.793 MB / 451.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.04, allocations: 7.375 kB / 451.2 MB, free: 2.426 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.620103084947914] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcPowerSupply.v', 'dcPowerSupply.i', 'dcPowerSupply.P'] 13.209803568082862 13.232569941 12.889277966 Calling exit ...