Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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.001794/0.001794, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002206/0.002206, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.426/1.426, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.HeatingMOSInverter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 47.92 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2446, allocations: 53.36 MB / 431.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004773/0.2494, allocations: 2.926 MB / 434 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.2511, allocations: 0.8117 MB / 434.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.2512, allocations: 11.94 kB / 434.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.2514, allocations: 59.36 kB / 434.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.2517, allocations: 114.9 kB / 435 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.2521, allocations: 163.7 kB / 435.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005891/0.2527, allocations: 0.5539 MB / 435.7 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00026/0.2529, allocations: 122.5 kB / 435.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003354/0.2533, allocations: 231.3 kB / 436.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.2536, allocations: 262.9 kB / 436.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.12e-05/0.2537, allocations: 52 kB / 436.4 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.2538, allocations: 60 kB / 436.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.2539, allocations: 111.7 kB / 436.5 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.2541, allocations: 199.2 kB / 436.7 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006497/0.2548, allocations: 0.572 MB / 437.3 MB, free: 420 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2548, allocations: 0 / 437.3 MB, free: 420 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2548, allocations: 0 / 437.3 MB, free: 420 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.2548, allocations: 0 / 437.3 MB, free: 420 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001616/0.2564, allocations: 0.7275 MB / 438 MB, free: 15.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.2564, allocations: 16.03 kB / 438.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001194/0.2565, allocations: 82.64 kB / 438.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.2568, allocations: 56.61 kB / 438.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004898/0.2572, allocations: 265.2 kB / 438.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.2573, allocations: 29.38 kB / 438.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.948e-05/0.2573, allocations: 36.38 kB / 438.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.2585, allocations: 0.6591 MB / 439.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.2585, allocations: 0 / 439.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.516e-05/0.2586, allocations: 16 kB / 439.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.2586, allocations: 11.94 kB / 439.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.2599, allocations: 0.4918 MB / 439.7 MB, free: 13.91 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002445/0.2623, allocations: 1.243 MB / 440.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.2634, allocations: 395.7 kB / 441.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004884/0.2639, allocations: 223.8 kB / 441.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.264, allocations: 12.31 kB / 441.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.264, allocations: 38.89 kB / 441.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.603e-06/0.264, allocations: 0 / 441.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004827/0.2688, allocations: 1.21 MB / 442.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.2689, allocations: 158.2 kB / 443 MB, free: 10.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/0.2693, allocations: 276.2 kB / 443.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.2693, allocations: 33.7 kB / 443.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.2695, allocations: 216.7 kB / 443.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.2696, allocations: 142.7 kB / 443.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.2697, allocations: 86.02 kB / 443.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.2699, allocations: 342.8 kB / 444 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005029/0.2704, allocations: 184.7 kB / 444.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006256/0.271, allocations: 385.3 kB / 444.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009665/0.272, allocations: 426.5 kB / 445 MB, free: 8.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.272, allocations: 0 / 445 MB, free: 8.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001809/0.2738, allocations: 0.686 MB / 445.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.2738, allocations: 4 kB / 445.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2738, allocations: 4 kB / 445.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.2752, allocations: 317.5 kB / 446 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/0.2756, allocations: 75.88 kB / 446.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.2771, allocations: 1.354 MB / 447.4 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004646/0.2775, allocations: 79.81 kB / 447.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.2776, allocations: 12 kB / 447.5 MB, free: 5.742 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,9), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002372/0.2778, allocations: 157.8 kB / 447.7 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.172e-05/0.2779, allocations: 39.77 kB / 447.7 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002203/0.2801, allocations: 0.7201 MB / 448.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.2801, allocations: 4 kB / 448.4 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2801, allocations: 0 / 448.4 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2801, allocations: 0 / 448.4 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005563/0.2806, allocations: 392.2 kB / 448.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2807, allocations: 0 / 448.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/0.2809, allocations: 55.95 kB / 448.9 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001226/0.2822, allocations: 321.4 kB / 449.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.504e-05/0.2822, allocations: 15.92 kB / 449.2 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001428/0.2836, allocations: 1.351 MB / 450.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.2836, allocations: 7.969 kB / 450.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002598/0.2862, allocations: 1.016 MB / 451.6 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.009e-05/0.2863, allocations: 35.72 kB / 451.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.651e-05/0.2864, allocations: 8 kB / 451.6 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/0.2867, allocations: 43.95 kB / 451.7 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.586e-05/0.2868, allocations: 31.72 kB / 451.7 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.2868, allocations: 8 kB / 451.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002506/0.2871, allocations: 203.1 kB / 451.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2871, allocations: 0 / 451.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004179/0.2875, allocations: 115.7 kB / 452 MB, free: 1.098 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,10), (1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002997/0.2905, allocations: 1.56 MB / 453.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.2918, allocations: 459.3 kB / 454 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2918, allocations: 4.438 kB / 454 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005924/0.2924, allocations: 243.8 kB / 454.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.2928, allocations: 58.67 kB / 454.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007308/0.3001, allocations: 4.07 MB / 458.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.3003, allocations: 195 kB / 458.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001473/0.3004, allocations: 34.95 kB / 458.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.3006, allocations: 123.4 kB / 458.7 MB, free: 10.19 MB / 366.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3006, allocations: 0 / 458.7 MB, free: 10.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04041/0.341, allocations: 9.405 MB / 468.1 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.44, allocations: 14.03 kB / 468.2 MB, free: 0.9766 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter_fmu --startTime=0 --stopTime=5 --stepSize=0.000989903 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.763677876995644] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 12.56212108701584 12.589460078 12.330140973 Calling exit ...