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.001227/0.001227, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001113/0.001113, allocations: 173.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.9387/0.9387, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.543e-06/1.543e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.091e-05, allocations: 10.06 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003/0.003021, allocations: 2.922 MB / 327.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.004266, allocations: 0.835 MB / 328.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.004404, allocations: 4 kB / 328.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.004554, allocations: 67.31 kB / 328.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.004694, allocations: 118.8 kB / 328.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.005038, allocations: 163.6 kB / 328.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003536/0.005392, allocations: 0.5694 MB / 329.3 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.005593, allocations: 120.8 kB / 329.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003251/0.005919, allocations: 323.3 kB / 329.7 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.006093, allocations: 195.4 kB / 329.9 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.89e-05/0.006142, allocations: 52 kB / 329.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.372e-05/0.006225, allocations: 63.92 kB / 330 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.869e-05/0.006284, allocations: 115.6 kB / 330.1 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.006385, allocations: 167.6 kB / 330.3 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004408/0.006826, allocations: 0.5842 MB / 330.9 MB, free: 9.621 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.006828, allocations: 0 / 330.9 MB, free: 9.621 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.006829, allocations: 0 / 330.9 MB, free: 9.621 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.006836, allocations: 8 kB / 330.9 MB, free: 9.613 MB / 298.7 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.0009522/0.007788, allocations: 0.7186 MB / 331.6 MB, free: 8.867 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.007826, allocations: 12.03 kB / 331.6 MB, free: 8.855 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.462e-05/0.007891, allocations: 78.7 kB / 331.7 MB, free: 8.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.008019, allocations: 60.61 kB / 331.7 MB, free: 8.711 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.008321, allocations: 268.4 kB / 332 MB, free: 8.418 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.008343, allocations: 29.38 kB / 332 MB, free: 8.391 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.598e-05/0.008389, allocations: 40.31 kB / 332.1 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/0.009051, allocations: 0.6517 MB / 332.7 MB, free: 7.641 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.009064, allocations: 192 / 332.7 MB, free: 7.641 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.009095, allocations: 20.12 kB / 332.7 MB, free: 7.621 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.009102, allocations: 8 kB / 332.7 MB, free: 7.613 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007258/0.009828, allocations: 0.4957 MB / 333.2 MB, free: 7.121 MB / 298.7 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.001511/0.01134, allocations: 1.247 MB / 334.5 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009602/0.0123, allocations: 408.5 kB / 334.9 MB, free: 5.391 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000447/0.01275, allocations: 217.4 kB / 335.1 MB, free: 5.176 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.01278, allocations: 12.31 kB / 335.1 MB, free: 5.164 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.01281, allocations: 38.89 kB / 335.1 MB, free: 5.117 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 2.044e-06/0.01281, allocations: 0 / 335.1 MB, free: 5.117 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.002846/0.01566, allocations: 1.214 MB / 336.4 MB, free: 3.891 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.01572, allocations: 158.2 kB / 336.5 MB, free: 3.699 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.01593, allocations: 280.2 kB / 336.8 MB, free: 3.418 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.01596, allocations: 33.7 kB / 336.8 MB, free: 3.379 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.01606, allocations: 216.7 kB / 337 MB, free: 3.164 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.141e-05/0.01613, allocations: 134.8 kB / 337.2 MB, free: 3.031 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.923e-05/0.01622, allocations: 78.14 kB / 337.2 MB, free: 2.949 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.01633, allocations: 346.8 kB / 337.6 MB, free: 2.602 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.01662, allocations: 180.9 kB / 337.8 MB, free: 2.422 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003702/0.01699, allocations: 385.9 kB / 338.1 MB, free: 1.988 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005934/0.01759, allocations: 430.6 kB / 338.6 MB, free: 1.543 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01759, allocations: 0 / 338.6 MB, free: 1.543 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001033/0.01862, allocations: 0.6704 MB / 339.2 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.01864, allocations: 4 kB / 339.2 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.01865, allocations: 7.938 kB / 339.2 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007435/0.01939, allocations: 329.4 kB / 339.6 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.01957, allocations: 79.88 kB / 339.6 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008321/0.0204, allocations: 1.347 MB / 341 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.02061, allocations: 79.81 kB / 341.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.02063, allocations: 15.98 kB / 341.1 MB, free: 14.95 MB / 314.7 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.0001261/0.02076, allocations: 158 kB / 341.2 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.0208, allocations: 39.77 kB / 341.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.02195, allocations: 0.7162 MB / 342 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.02195, allocations: 4 kB / 342 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.02196, allocations: 8 kB / 342 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.02197, allocations: 3.984 kB / 342 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003528/0.02232, allocations: 376.4 kB / 342.4 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.02232, allocations: 0 / 342.4 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.02248, allocations: 67.81 kB / 342.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006105/0.02309, allocations: 321.4 kB / 342.7 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.02312, allocations: 8 kB / 342.8 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008147/0.02393, allocations: 1.358 MB / 344.1 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.02393, allocations: 4.031 kB / 344.1 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.02531, allocations: 1.015 MB / 345.1 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.02535, allocations: 47.73 kB / 345.2 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.02538, allocations: 4 kB / 345.2 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.02555, allocations: 43.94 kB / 345.2 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.02561, allocations: 23.95 kB / 345.2 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.02562, allocations: 12 kB / 345.3 MB, free: 10.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001455/0.02577, allocations: 199.1 kB / 345.5 MB, free: 10.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02577, allocations: 4 kB / 345.5 MB, free: 10.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000259/0.02603, allocations: 107.8 kB / 345.6 MB, free: 10.3 MB / 314.7 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.001722/0.02775, allocations: 1.568 MB / 347.1 MB, free: 8.703 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007299/0.02848, allocations: 451.4 kB / 347.6 MB, free: 8.262 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.02848, allocations: 4 kB / 347.6 MB, free: 8.258 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.0288, allocations: 240.2 kB / 347.8 MB, free: 8.023 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.02909, allocations: 51.23 kB / 347.9 MB, free: 7.977 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00433/0.03341, allocations: 4.021 MB / 351.9 MB, free: 3.812 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.03353, allocations: 194.9 kB / 352.1 MB, free: 3.605 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.482e-05/0.03362, allocations: 34.97 kB / 352.1 MB, free: 3.566 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.03374, allocations: 124.5 kB / 352.2 MB, free: 3.445 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.03374, allocations: 0 / 352.2 MB, free: 3.445 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/0.05599, allocations: 9.403 MB / 361.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.855/7.911, allocations: 4 kB / 361.6 MB, free: 10.23 MB / 330.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_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: 9.791150502860546] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 8.009155262261629 8.026206532 8.016139927 Calling exit ...