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.001299/0.001299, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.001384/0.001384, allocations: 215 kB / 21.45 MB, free: 1.641 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.436/1.436, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.001455/0.001455, allocations: 51.92 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09972/0.1012, allocations: 53.32 MB / 427 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003375/0.1046, allocations: 2.056 MB / 429.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009865/0.1055, allocations: 0.5844 MB / 429.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.101e-05/0.1056, allocations: 0 / 429.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.1057, allocations: 23.78 kB / 429.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.623e-05/0.1058, allocations: 31.72 kB / 429.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.1061, allocations: 71.83 kB / 429.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.1064, allocations: 215.3 kB / 430 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.1065, allocations: 33.11 kB / 430 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.1066, allocations: 91.69 kB / 430.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.1068, allocations: 87.66 kB / 430.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.619e-05/0.1068, allocations: 20 kB / 430.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.938e-05/0.1069, allocations: 20 kB / 430.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.699e-05/0.1069, allocations: 31.91 kB / 430.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.946e-05/0.107, allocations: 79.64 kB / 430.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.1073, allocations: 195.3 kB / 430.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1073, allocations: 0 / 430.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1073, allocations: 0 / 430.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1073, allocations: 0 / 430.6 MB, free: 1.234 MB / 350.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.0008257/0.1082, allocations: 492.5 kB / 431 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1082, allocations: 8.031 kB / 431 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.588e-05/0.1082, allocations: 8.188 kB / 431.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.164e-05/0.1082, allocations: 42.75 kB / 431.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.1084, allocations: 28.77 kB / 431.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.1087, allocations: 208.2 kB / 431.3 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.1088, allocations: 93.67 kB / 431.4 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.1088, allocations: 20.12 kB / 431.4 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.1091, allocations: 125.4 kB / 431.6 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.1091, allocations: 0 / 431.6 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.1091, allocations: 12 kB / 431.6 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.1091, allocations: 0 / 431.6 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003398/0.1095, allocations: 112 kB / 431.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008629/0.1103, allocations: 0.5071 MB / 432.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/0.1107, allocations: 114.6 kB / 432.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.1108, allocations: 44.83 kB / 432.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.1108, allocations: 7.938 kB / 432.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1109, allocations: 30.56 kB / 432.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.1109, allocations: 4 kB / 432.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008904/0.1118, allocations: 299.4 kB / 432.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.1118, allocations: 51.41 kB / 432.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.1119, allocations: 156.9 kB / 432.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.112, allocations: 37.64 kB / 432.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.152e-05/0.1121, allocations: 120 kB / 433 MB, free: 14.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.1121, allocations: 27.8 kB / 433.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.772e-05/0.1122, allocations: 33.66 kB / 433.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1123, allocations: 322.8 kB / 433.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.1125, allocations: 51.97 kB / 433.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.1127, allocations: 90.03 kB / 433.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.113, allocations: 144.2 kB / 433.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.113, allocations: 3.938 kB / 433.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006262/0.1136, allocations: 263.9 kB / 433.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.029e-05/0.1136, allocations: 35.89 kB / 434 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.1137, allocations: 0 / 434 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002326/0.1139, allocations: 76.86 kB / 434.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.322e-05/0.114, allocations: 19.98 kB / 434.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.1158, allocations: 1.618 MB / 435.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/0.1161, allocations: 47.95 kB / 435.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.1161, allocations: 8 kB / 435.8 MB, free: 11.56 MB / 366.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.0001136/0.1162, allocations: 125.8 kB / 435.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.1163, allocations: 15.84 kB / 435.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004151/0.1167, allocations: 167.1 kB / 436.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1167, allocations: 0 / 436.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.21e-07/0.1167, allocations: 0 / 436.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1167, allocations: 7.984 kB / 436.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.1169, allocations: 217.5 kB / 436.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1169, allocations: 0 / 436.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.045e-05/0.117, allocations: 15.98 kB / 436.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001733/0.1172, allocations: 72.75 kB / 436.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.1172, allocations: 4 kB / 436.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/0.1188, allocations: 1.61 MB / 438 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1188, allocations: 0 / 438 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.1192, allocations: 256.3 kB / 438.2 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.1193, allocations: 89.02 kB / 438.3 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.1193, allocations: 0 / 438.3 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.1194, allocations: 20.05 kB / 438.3 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.1195, allocations: 15.98 kB / 438.3 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.1195, allocations: 0 / 438.3 MB, free: 8.723 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.746e-05/0.1196, allocations: 118.2 kB / 438.5 MB, free: 8.609 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1196, allocations: 0 / 438.5 MB, free: 8.609 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003054/0.1199, allocations: 47.94 kB / 438.5 MB, free: 8.562 MB / 366.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.0007322/0.1206, allocations: 0.7835 MB / 439.3 MB, free: 7.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006193/0.1212, allocations: 297.9 kB / 439.6 MB, free: 7.434 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1212, allocations: 4.125 kB / 439.6 MB, free: 7.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003282/0.1216, allocations: 178.5 kB / 439.8 MB, free: 7.242 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.1219, allocations: 24.48 kB / 439.8 MB, free: 7.219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.1246, allocations: 1.961 MB / 441.7 MB, free: 5.148 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.1249, allocations: 0.7084 MB / 442.5 MB, free: 4.414 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.606e-05/0.125, allocations: 8.547 kB / 442.5 MB, free: 4.406 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.125, allocations: 35.42 kB / 442.5 MB, free: 4.371 MB / 366.1 MB Notification: Performance of SimCode: time 4.9e-07/0.125, allocations: 0 / 442.5 MB, free: 4.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2135/0.3385, allocations: 4.55 MB / 447 MB, free: 25.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.78, allocations: 3.5 kB / 447.1 MB, free: 25.62 MB / 366.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.239482353033964] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcPowerSupply.v', 'dcPowerSupply.i', 'dcPowerSupply.P'] 11.930092294001952 11.9516823 11.840038012 Calling exit ...