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.001238/0.001238, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001291/0.001291, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.447/1.447, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.001887/0.001887, allocations: 75.88 kB / 373.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09578/0.09766, allocations: 53.31 MB / 426.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003325/0.101, allocations: 2.065 MB / 429 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009814/0.102, allocations: 0.5767 MB / 429.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.294e-05/0.1021, allocations: 0 / 429.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.1022, allocations: 19.78 kB / 429.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.183e-05/0.1023, allocations: 43.66 kB / 429.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.1025, allocations: 67.83 kB / 429.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002812/0.1028, allocations: 211.3 kB / 429.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1029, allocations: 33.11 kB / 429.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.103, allocations: 83.75 kB / 430 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.1032, allocations: 91.59 kB / 430.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.787e-05/0.1032, allocations: 20 kB / 430.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.548e-05/0.1033, allocations: 20 kB / 430.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.626e-05/0.1033, allocations: 31.91 kB / 430.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.805e-05/0.1034, allocations: 87.58 kB / 430.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.1037, allocations: 191.3 kB / 430.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1037, allocations: 0 / 430.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1037, allocations: 4 kB / 430.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1037, allocations: 0 / 430.4 MB, free: 1.289 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.0007469/0.1044, allocations: 488.5 kB / 430.9 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1045, allocations: 12.03 kB / 430.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/0.1045, allocations: 46.75 kB / 431 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.1046, allocations: 24.83 kB / 431 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.1049, allocations: 212.2 kB / 431.2 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.772e-05/0.105, allocations: 89.67 kB / 431.3 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.105, allocations: 12.38 kB / 431.3 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.1053, allocations: 125.6 kB / 431.4 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1053, allocations: 0 / 431.4 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.1053, allocations: 4 kB / 431.4 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1054, allocations: 8 kB / 431.4 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.1056, allocations: 111.8 kB / 431.5 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.18/0.2857, allocations: 0.5073 MB / 432 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/0.286, allocations: 108 kB / 432.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.2862, allocations: 49.5 kB / 432.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.2862, allocations: 1.344 kB / 432.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.2862, allocations: 35.48 kB / 432.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.265e-06/0.2862, allocations: 0 / 432.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008016/0.287, allocations: 300.9 kB / 432.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.287, allocations: 59.62 kB / 432.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.2871, allocations: 149.6 kB / 432.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.2872, allocations: 31.27 kB / 432.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.322e-05/0.2872, allocations: 120.3 kB / 432.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.2872, allocations: 28.19 kB / 432.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.81e-05/0.2873, allocations: 37.56 kB / 432.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.562e-05/0.2873, allocations: 318.5 kB / 433.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.2875, allocations: 58.81 kB / 433.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.2877, allocations: 78.14 kB / 433.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.2879, allocations: 147.7 kB / 433.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2879, allocations: 0.8125 kB / 433.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005233/0.2884, allocations: 265.5 kB / 433.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.2885, allocations: 37.97 kB / 433.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2885, allocations: 3.031 kB / 433.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002067/0.2887, allocations: 76.28 kB / 433.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.337e-05/0.2888, allocations: 21.19 kB / 433.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.29, allocations: 1.606 MB / 435.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003318/0.2903, allocations: 58.28 kB / 435.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.2904, allocations: 11.55 kB / 435.6 MB, free: 8.691 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 7.849e-05/0.2904, allocations: 122 kB / 435.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/0.2905, allocations: 9.797 kB / 435.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003323/0.2908, allocations: 167.6 kB / 435.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2908, allocations: 1.719 kB / 435.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/0.2908, allocations: 0 / 435.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.2908, allocations: 5.562 kB / 435.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.291, allocations: 220 kB / 436.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.291, allocations: 0 / 436.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.098e-05/0.2911, allocations: 17.5 kB / 436.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001339/0.2912, allocations: 73.78 kB / 436.2 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.2912, allocations: 4.031 kB / 436.2 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.2923, allocations: 1.609 MB / 437.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2923, allocations: 0 / 437.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.2926, allocations: 251.8 kB / 438.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/0.2926, allocations: 92.25 kB / 438.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.2926, allocations: 4.125 kB / 438.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.2928, allocations: 15.92 kB / 438.2 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.2928, allocations: 11.91 kB / 438.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.2928, allocations: 6.094 kB / 438.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.3e-05/0.2929, allocations: 111 kB / 438.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2929, allocations: 0 / 438.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.2932, allocations: 49.34 kB / 438.3 MB, free: 6.57 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.0004981/0.2937, allocations: 0.7957 MB / 439.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005607/0.2942, allocations: 296.4 kB / 439.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2943, allocations: 0 / 439.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002379/0.2945, allocations: 177 kB / 439.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.2948, allocations: 32.08 kB / 439.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.2969, allocations: 1.962 MB / 441.6 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.297, allocations: 0.7064 MB / 442.3 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.682e-05/0.2971, allocations: 16.06 kB / 442.3 MB, free: 3.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.2971, allocations: 35 kB / 442.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2971, allocations: 1.125 kB / 442.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/0.3302, allocations: 4.514 MB / 446.9 MB, free: 2.711 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.78, allocations: 16.8 kB / 446.9 MB, free: 2.699 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 --stepSize=0.0001 --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: 14.020408790558577] Failed to read output from testmodel.py, exit status != 0: 11.86814765399322 11.881372466 11.774948447 Calling exit ...