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.001769/0.001769, allocations: 121.2 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.002094/0.002094, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.472/1.472, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.001973/0.001973, allocations: 71.83 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1044, allocations: 53.33 MB / 427 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004742/0.1091, allocations: 3.18 MB / 430.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.1107, allocations: 0.8469 MB / 431 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.1108, allocations: 8 kB / 431.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.111, allocations: 63.31 kB / 431.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.1113, allocations: 118.9 kB / 431.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.1118, allocations: 159.7 kB / 431.4 MB, free: 372 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2602/0.372, allocations: 0.5387 MB / 431.9 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004813/0.3725, allocations: 120 kB / 432 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000684/0.3732, allocations: 232.6 kB / 432.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003665/0.3735, allocations: 259.2 kB / 432.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.3736, allocations: 51.41 kB / 432.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.3738, allocations: 61.36 kB / 432.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.3739, allocations: 109.8 kB / 432.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002515/0.3742, allocations: 246.5 kB / 433 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000733/0.3749, allocations: 0.5575 MB / 433.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3749, allocations: 2.906 kB / 433.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3749, allocations: 0 / 433.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.3749, allocations: 0 / 433.5 MB, free: 7.559 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001914/0.3768, allocations: 0.808 MB / 434.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.3769, allocations: 9.688 kB / 434.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.875e-05/0.377, allocations: 73.89 kB / 434.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/0.3773, allocations: 67.38 kB / 434.5 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005348/0.3778, allocations: 323.9 kB / 434.8 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.3779, allocations: 27.38 kB / 434.8 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.56e-05/0.3779, allocations: 35.67 kB / 434.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.3793, allocations: 0.5039 MB / 435.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.3793, allocations: 3.938 kB / 435.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.837e-05/0.3793, allocations: 20.75 kB / 435.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.3794, allocations: 9.062 kB / 435.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.3812, allocations: 0.4968 MB / 435.9 MB, free: 6.652 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.003357/0.3845, allocations: 1.661 MB / 437.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.386, allocations: 399.8 kB / 438 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007302/0.3868, allocations: 226.9 kB / 438.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.068e-05/0.3868, allocations: 10.44 kB / 438.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.3869, allocations: 39.25 kB / 438.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 3.005e-06/0.3869, allocations: 1.031 kB / 438.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.006752/0.3936, allocations: 1.357 MB / 439.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.3937, allocations: 159.6 kB / 439.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004826/0.3942, allocations: 278.2 kB / 440 MB, free: 4.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.39e-05/0.3942, allocations: 33.78 kB / 440 MB, free: 4.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.3943, allocations: 215.5 kB / 440.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.3945, allocations: 139.5 kB / 440.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.3946, allocations: 75.09 kB / 440.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.3947, allocations: 347.9 kB / 440.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007058/0.3954, allocations: 179.9 kB / 441 MB, free: 4.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007591/0.3962, allocations: 281.9 kB / 441.3 MB, free: 3.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.3973, allocations: 430.3 kB / 441.7 MB, free: 3.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3973, allocations: 0 / 441.7 MB, free: 3.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002024/0.3993, allocations: 0.6766 MB / 442.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.3994, allocations: 6.562 kB / 442.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.3994, allocations: 2.375 kB / 442.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001352/0.4007, allocations: 324.1 kB / 442.7 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/0.4011, allocations: 75.3 kB / 442.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.4022, allocations: 1.357 MB / 444.1 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004673/0.4026, allocations: 73.11 kB / 444.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/0.4027, allocations: 17.25 kB / 444.2 MB, free: 2.285 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.0001905/0.4029, allocations: 162.1 kB / 444.4 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/0.4029, allocations: 37.11 kB / 444.4 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/0.4051, allocations: 0.7213 MB / 445.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.4051, allocations: 5.875 kB / 445.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4051, allocations: 0.7969 kB / 445.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.4051, allocations: 5.5 kB / 445.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005974/0.4057, allocations: 469.3 kB / 445.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4057, allocations: 0.875 kB / 445.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.406, allocations: 59.42 kB / 445.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.4072, allocations: 325.6 kB / 446 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.4073, allocations: 8.156 kB / 446 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.4083, allocations: 1.363 MB / 447.3 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4083, allocations: 0 / 447.3 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/0.4109, allocations: 1.012 MB / 448.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.411, allocations: 120.8 kB / 448.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.867e-05/0.4111, allocations: 7.812 kB / 448.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.4115, allocations: 49.36 kB / 448.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.4115, allocations: 22.56 kB / 448.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.4116, allocations: 14.28 kB / 448.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002982/0.4119, allocations: 195.9 kB / 448.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4119, allocations: 0 / 448.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004574/0.4123, allocations: 109.8 kB / 448.9 MB, free: 15.6 MB / 366.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.003219/0.4155, allocations: 1.557 MB / 450.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.4169, allocations: 465.4 kB / 450.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.4169, allocations: 5.188 kB / 450.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006446/0.4176, allocations: 237.8 kB / 451.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.418, allocations: 47.77 kB / 451.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008134/0.4262, allocations: 4.077 MB / 455.2 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.4267, allocations: 0.7957 MB / 456 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001866/0.4268, allocations: 33.78 kB / 456.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.427, allocations: 124.1 kB / 456.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of SimCode: time 1.733e-06/0.427, allocations: 0 / 456.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04133/0.4684, allocations: 9.464 MB / 465.6 MB, free: 7.129 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.86, allocations: 10.11 kB / 465.7 MB, free: 7.125 MB / 366.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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000989903 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.390834766905755] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 12.956905091647059 12.974502225 12.595010306 Calling exit ...