Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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.001348/0.001348, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001434/0.001434, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.438/1.438, allocations: 230.6 MB / 258.3 MB, free: 8.055 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.HeatingMOSInverter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",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.001981/0.001981, allocations: 64.77 kB / 378.6 MB, free: 3.246 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.253, allocations: 53.36 MB / 431.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004594/0.2576, allocations: 3.193 MB / 435.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.2593, allocations: 0.8583 MB / 436 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.2595, allocations: 8 kB / 436 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.2597, allocations: 67.3 kB / 436 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.2599, allocations: 118.9 kB / 436.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.2604, allocations: 151.7 kB / 436.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005917/0.261, allocations: 0.5501 MB / 436.9 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/0.2612, allocations: 120.8 kB / 437 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003942/0.2616, allocations: 243.2 kB / 437.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003306/0.262, allocations: 251 kB / 437.5 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.742e-05/0.262, allocations: 52 kB / 437.5 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.2622, allocations: 56 kB / 437.6 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.2623, allocations: 115.6 kB / 437.7 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.2625, allocations: 242.8 kB / 437.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006694/0.2631, allocations: 0.565 MB / 438.5 MB, free: 336 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2631, allocations: 0 / 438.5 MB, free: 336 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2632, allocations: 0 / 438.5 MB, free: 336 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.2632, allocations: 4 kB / 438.5 MB, free: 332 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.001654/0.2648, allocations: 0.7274 MB / 439.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.2649, allocations: 12.03 kB / 439.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.719e-05/0.265, allocations: 78.7 kB / 439.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.2652, allocations: 56.61 kB / 439.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000492/0.2657, allocations: 265.2 kB / 439.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.2657, allocations: 29.38 kB / 439.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.965e-05/0.2658, allocations: 36.38 kB / 439.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.2668, allocations: 0.5046 MB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.2668, allocations: 0 / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.045e-05/0.2669, allocations: 16 kB / 440.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.2669, allocations: 12 kB / 440.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.2682, allocations: 0.4957 MB / 440.7 MB, free: 14.02 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.00279/0.271, allocations: 1.628 MB / 442.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.2721, allocations: 399.7 kB / 442.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005313/0.2726, allocations: 217.4 kB / 442.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.695e-05/0.2727, allocations: 12.3 kB / 443 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.2727, allocations: 42.83 kB / 443 MB, free: 11.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.114e-06/0.2727, allocations: 0 / 443 MB, free: 11.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004862/0.2776, allocations: 1.207 MB / 444.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.2777, allocations: 166.2 kB / 444.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/0.2781, allocations: 276.2 kB / 444.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.266e-05/0.2781, allocations: 33.7 kB / 444.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.2783, allocations: 216.7 kB / 444.9 MB, free: 9.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.2784, allocations: 142.8 kB / 445 MB, free: 9.477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.2786, allocations: 70.14 kB / 445.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.2788, allocations: 346.8 kB / 445.4 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005081/0.2793, allocations: 184.7 kB / 445.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005811/0.2798, allocations: 278.5 kB / 445.9 MB, free: 8.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.2809, allocations: 426.5 kB / 446.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2809, allocations: 4 kB / 446.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001889/0.2827, allocations: 0.682 MB / 447 MB, free: 7.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.2828, allocations: 4 kB / 447 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.2828, allocations: 4 kB / 447 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/0.2841, allocations: 317.4 kB / 447.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.2845, allocations: 79.88 kB / 447.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.2859, allocations: 1.35 MB / 448.7 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/0.2864, allocations: 87.72 kB / 448.8 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.2864, allocations: 16 kB / 448.8 MB, free: 5.52 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.0002468/0.2866, allocations: 155 kB / 449 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.687e-05/0.2867, allocations: 39.95 kB / 449 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/0.2889, allocations: 0.7201 MB / 449.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.2889, allocations: 7.938 kB / 449.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2889, allocations: 0 / 449.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2889, allocations: 0 / 449.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006723/0.2896, allocations: 448.2 kB / 450.2 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2896, allocations: 0 / 450.2 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003568/0.2899, allocations: 59.89 kB / 450.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001205/0.2911, allocations: 321.4 kB / 450.6 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.2912, allocations: 8 kB / 450.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/0.2926, allocations: 1.358 MB / 451.9 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2926, allocations: 0 / 451.9 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002635/0.2953, allocations: 1.016 MB / 452.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.259e-05/0.2953, allocations: 39.67 kB / 453 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.227e-05/0.2954, allocations: 12.05 kB / 453 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/0.2958, allocations: 43.95 kB / 453 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.916e-05/0.2958, allocations: 27.73 kB / 453.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.2959, allocations: 15.98 kB / 453.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002518/0.2961, allocations: 195.1 kB / 453.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2961, allocations: 4 kB / 453.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004534/0.2966, allocations: 111.8 kB / 453.4 MB, free: 0.8203 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.003067/0.2996, allocations: 1.568 MB / 454.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.301, allocations: 459.4 kB / 455.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.301, allocations: 0 / 455.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006084/0.3016, allocations: 235.8 kB / 455.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.3021, allocations: 48.98 kB / 455.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007694/0.3098, allocations: 4.078 MB / 459.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.3102, allocations: 0.7995 MB / 460.6 MB, free: 9.449 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001495/0.3103, allocations: 34.95 kB / 460.6 MB, free: 9.418 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.3105, allocations: 119.4 kB / 460.7 MB, free: 9.301 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3105, allocations: 4 kB / 460.7 MB, free: 9.297 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04028/0.3508, allocations: 9.799 MB / 470.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/12.95, allocations: 0 / 470.5 MB, free: 15.65 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingMOSInverter_fmu --startTime=0 --stopTime=5 --stepSize=0.000989903 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.273596913088113] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 13.047538419719785 13.07899304 12.809866793 Calling exit ...