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.001668/0.001668, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00216/0.00216, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.462/1.462, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.001471/0.001471, allocations: 47.92 kB / 378.5 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2509, allocations: 53.37 MB / 431.9 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.00334/0.2542, allocations: 1.995 MB / 433.9 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.2553, allocations: 0.5416 MB / 434.4 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.669e-05/0.2554, allocations: 4 kB / 434.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.2555, allocations: 19.78 kB / 434.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.2556, allocations: 39.7 kB / 434.5 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.2559, allocations: 75.83 kB / 434.5 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.2562, allocations: 207.3 kB / 434.7 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.2563, allocations: 37.23 kB / 434.8 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.2565, allocations: 83.7 kB / 434.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.2567, allocations: 91.7 kB / 435 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.765e-05/0.2567, allocations: 16 kB / 435 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.071e-05/0.2568, allocations: 24 kB / 435 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.219e-05/0.2568, allocations: 27.86 kB / 435 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.955e-05/0.2569, allocations: 71.77 kB / 435.1 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.2572, allocations: 195.3 kB / 435.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2572, allocations: 0 / 435.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2572, allocations: 0 / 435.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.2572, allocations: 0 / 435.3 MB, free: 3.215 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.0007462/0.258, allocations: 419.4 kB / 435.7 MB, free: 2.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.258, allocations: 8.031 kB / 435.7 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.484e-05/0.258, allocations: 4.188 kB / 435.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/0.258, allocations: 46.73 kB / 435.7 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.2582, allocations: 28.78 kB / 435.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.2584, allocations: 148.9 kB / 435.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.2586, allocations: 153.1 kB / 436.1 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.2586, allocations: 12.12 kB / 436.1 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.259, allocations: 208.2 kB / 436.3 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.259, allocations: 4 kB / 436.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.259, allocations: 4 kB / 436.3 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.259, allocations: 4 kB / 436.3 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003121/0.2593, allocations: 115.9 kB / 436.4 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008312/0.2601, allocations: 446.5 kB / 436.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/0.2605, allocations: 102.7 kB / 436.9 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.2606, allocations: 44.83 kB / 437 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.2606, allocations: 11.94 kB / 437 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.2607, allocations: 34.56 kB / 437 MB, free: 1.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.2607, allocations: 0 / 437 MB, free: 1.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008081/0.2615, allocations: 222.3 kB / 437.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.2615, allocations: 51.41 kB / 437.3 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.2617, allocations: 156.8 kB / 437.5 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.2617, allocations: 33.7 kB / 437.5 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.2618, allocations: 116 kB / 437.6 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.2618, allocations: 31.78 kB / 437.6 MB, free: 0.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.238e-05/0.2619, allocations: 29.72 kB / 437.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2621, allocations: 322.8 kB / 438 MB, free: 272 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.2623, allocations: 89.66 kB / 438.1 MB, free: 176 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.2625, allocations: 112.2 kB / 438.2 MB, free: 48 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.2628, allocations: 144.2 kB / 438.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2628, allocations: 3.938 kB / 438.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006284/0.2634, allocations: 301.5 kB / 438.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.943e-05/0.2634, allocations: 33.7 kB / 438.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2634, allocations: 0 / 438.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002322/0.2637, allocations: 77.34 kB / 438.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.721e-05/0.2638, allocations: 15.98 kB / 438.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.2654, allocations: 1.516 MB / 440.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003195/0.2658, allocations: 43.98 kB / 440.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.2658, allocations: 4 kB / 440.3 MB, free: 13.76 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.0001246/0.2659, allocations: 125.9 kB / 440.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.2659, allocations: 19.83 kB / 440.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003993/0.2663, allocations: 167.1 kB / 440.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2663, allocations: 4 kB / 440.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.2663, allocations: 0 / 440.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2663, allocations: 0 / 440.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.2666, allocations: 172.7 kB / 440.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2666, allocations: 0 / 440.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.866e-05/0.2667, allocations: 19.98 kB / 440.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001723/0.2668, allocations: 76.75 kB / 440.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.2668, allocations: 0 / 440.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/0.2684, allocations: 1.506 MB / 442.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.2684, allocations: 3.984 kB / 442.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003985/0.2688, allocations: 248.2 kB / 442.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.2688, allocations: 11.91 kB / 442.6 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.2688, allocations: 0 / 442.6 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.2689, allocations: 19.98 kB / 442.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.269, allocations: 7.984 kB / 442.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.269, allocations: 4.062 kB / 442.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.133e-05/0.2691, allocations: 122.2 kB / 442.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2691, allocations: 0 / 442.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002857/0.2694, allocations: 47.94 kB / 442.8 MB, free: 11.02 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.0007063/0.2701, allocations: 0.7875 MB / 443.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006205/0.2707, allocations: 331.7 kB / 443.9 MB, free: 9.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.2707, allocations: 4 kB / 443.9 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.271, allocations: 166.6 kB / 444.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.2713, allocations: 27.97 kB / 444.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.274, allocations: 2.098 MB / 446.2 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.815e-05/0.2741, allocations: 93.62 kB / 446.3 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.936e-05/0.2742, allocations: 8.484 kB / 446.3 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.305e-05/0.2742, allocations: 31.44 kB / 446.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2742, allocations: 480 / 446.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.3022, allocations: 4.802 MB / 451.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.69, allocations: 3.625 kB / 451.2 MB, free: 2.656 MB / 350.1 MB " [Timeout remaining time 647] (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: 15.207022889982909] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcPowerSupply.v', 'dcPowerSupply.i', 'dcPowerSupply.P'] 12.858808397082612 12.882111458 12.620754094 Calling exit ...