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.00132/0.00132, allocations: 106.5 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.001674/0.001674, allocations: 211.8 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.371/1.371, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.001901/0.001901, allocations: 64.7 kB / 378.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2645, allocations: 53.38 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.006393/0.2709, allocations: 3.187 MB / 435.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.2731, allocations: 0.8583 MB / 436 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002401/0.2734, allocations: 12 kB / 436 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000252/0.2736, allocations: 63.31 kB / 436 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.2739, allocations: 114.9 kB / 436.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000561/0.2745, allocations: 159.7 kB / 436.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007899/0.2753, allocations: 0.5501 MB / 436.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.2756, allocations: 124.8 kB / 437 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004485/0.276, allocations: 243.2 kB / 437.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004458/0.2765, allocations: 251 kB / 437.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.2766, allocations: 52 kB / 437.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.2768, allocations: 60 kB / 437.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.2769, allocations: 107.7 kB / 437.7 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003114/0.2772, allocations: 246.8 kB / 437.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000859/0.2781, allocations: 0.5611 MB / 438.5 MB, free: 320 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2781, allocations: 0 / 438.5 MB, free: 320 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2781, allocations: 0 / 438.5 MB, free: 320 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.2781, allocations: 0 / 438.5 MB, free: 320 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.002105/0.2802, allocations: 0.7352 MB / 439.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.2802, allocations: 8.031 kB / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/0.2804, allocations: 78.72 kB / 439.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/0.2806, allocations: 64.59 kB / 439.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006209/0.2813, allocations: 261.2 kB / 439.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.764e-05/0.2813, allocations: 29.38 kB / 439.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.413e-05/0.2814, allocations: 36.38 kB / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.2829, allocations: 0.5007 MB / 440.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.2829, allocations: 0 / 440.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-05/0.283, allocations: 16 kB / 440.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.283, allocations: 12 kB / 440.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/0.285, allocations: 0.4996 MB / 440.7 MB, free: 14 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.003308/0.2884, allocations: 1.62 MB / 442.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.2894, allocations: 395.7 kB / 442.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005024/0.2899, allocations: 229.4 kB / 442.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.29, allocations: 4.328 kB / 442.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.29, allocations: 42.83 kB / 443 MB, free: 11.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.763e-06/0.29, allocations: 0 / 443 MB, free: 11.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004657/0.2947, allocations: 1.214 MB / 444.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.2948, allocations: 158.2 kB / 444.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003557/0.2951, allocations: 276.2 kB / 444.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.2952, allocations: 29.7 kB / 444.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.2953, allocations: 220.7 kB / 444.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.2955, allocations: 138.8 kB / 445 MB, free: 9.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.2956, allocations: 78.12 kB / 445.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.2958, allocations: 346.8 kB / 445.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005076/0.2963, allocations: 176.8 kB / 445.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005701/0.2969, allocations: 278.5 kB / 445.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000963/0.2978, allocations: 430.5 kB / 446.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2978, allocations: 0 / 446.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001797/0.2996, allocations: 0.6781 MB / 447 MB, free: 7.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.2996, allocations: 8 kB / 447 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.2996, allocations: 0 / 447 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/0.3009, allocations: 329.4 kB / 447.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.3013, allocations: 75.88 kB / 447.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.3027, allocations: 1.347 MB / 448.7 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/0.3031, allocations: 87.67 kB / 448.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.3031, allocations: 19.98 kB / 448.8 MB, free: 5.508 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.0002206/0.3034, allocations: 157.7 kB / 449 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.693e-05/0.3034, allocations: 39.77 kB / 449 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.3055, allocations: 0.7162 MB / 449.7 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.3055, allocations: 4 kB / 449.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.3055, allocations: 0 / 449.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.3055, allocations: 3.984 kB / 449.7 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006008/0.3061, allocations: 440.2 kB / 450.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3062, allocations: 0 / 450.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.3064, allocations: 63.89 kB / 450.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001132/0.3076, allocations: 329.3 kB / 450.6 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.3076, allocations: 8 kB / 450.6 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.309, allocations: 1.355 MB / 451.9 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.309, allocations: 4.172 kB / 451.9 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002525/0.3115, allocations: 1.012 MB / 452.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.237e-05/0.3116, allocations: 51.67 kB / 453 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.069e-05/0.3116, allocations: 4 kB / 453 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.312, allocations: 47.94 kB / 453 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.526e-05/0.312, allocations: 23.73 kB / 453.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.3121, allocations: 12 kB / 453.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002489/0.3123, allocations: 199.1 kB / 453.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3123, allocations: 4 kB / 453.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000403/0.3127, allocations: 111.8 kB / 453.4 MB, free: 0.8047 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.002876/0.3156, allocations: 1.572 MB / 454.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.3168, allocations: 459.5 kB / 455.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3168, allocations: 0 / 455.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005854/0.3174, allocations: 231.8 kB / 455.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.3178, allocations: 52.94 kB / 455.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007308/0.3251, allocations: 4.082 MB / 459.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.3256, allocations: 0.7995 MB / 460.6 MB, free: 9.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.3257, allocations: 30.97 kB / 460.6 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.3259, allocations: 115.4 kB / 460.7 MB, free: 9.289 MB / 366.1 MB Notification: Performance of SimCode: time 1.203e-06/0.3259, allocations: 0 / 460.7 MB, free: 9.289 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04148/0.3674, allocations: 9.807 MB / 470.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.47, allocations: 7.562 kB / 470.5 MB, free: 15.62 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 & 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: 14.886491509154439] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 12.565528344828635 12.58302462 12.301869116 Calling exit ...