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.001278/0.001278, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001448/0.001448, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.422/1.422, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001548/0.001548, allocations: 63.89 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2541, allocations: 53.36 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004855/0.2589, allocations: 2.925 MB / 434 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.2607, allocations: 0.8156 MB / 434.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002644/0.2609, allocations: 11.94 kB / 434.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002363/0.2612, allocations: 59.38 kB / 434.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.2615, allocations: 118.9 kB / 435 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004996/0.262, allocations: 159.7 kB / 435.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006431/0.2626, allocations: 0.5501 MB / 435.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002548/0.2629, allocations: 118.5 kB / 435.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004031/0.2633, allocations: 227.3 kB / 436.1 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003333/0.2636, allocations: 223 kB / 436.3 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.549e-05/0.2637, allocations: 52 kB / 436.3 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.2638, allocations: 60 kB / 436.4 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.2639, allocations: 119.6 kB / 436.5 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.2642, allocations: 195.2 kB / 436.7 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006271/0.2648, allocations: 0.5603 MB / 437.3 MB, free: 444 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2648, allocations: 3.938 kB / 437.3 MB, free: 440 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2648, allocations: 0 / 437.3 MB, free: 440 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.2648, allocations: 8 kB / 437.3 MB, free: 432 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.001649/0.2665, allocations: 0.7381 MB / 438 MB, free: 15.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.2665, allocations: 12.03 kB / 438 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.937e-05/0.2666, allocations: 74.66 kB / 438.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/0.2668, allocations: 64.59 kB / 438.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004741/0.2673, allocations: 261.1 kB / 438.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.2673, allocations: 29.38 kB / 438.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-05/0.2674, allocations: 36.38 kB / 438.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.2686, allocations: 0.6591 MB / 439.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.2686, allocations: 0 / 439.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-05/0.2686, allocations: 16 kB / 439.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.2686, allocations: 8 kB / 439.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.27, allocations: 0.4957 MB / 439.6 MB, free: 13.92 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.002495/0.2725, allocations: 1.247 MB / 440.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.2736, allocations: 401.3 kB / 441.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005087/0.2741, allocations: 217.4 kB / 441.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.218e-05/0.2741, allocations: 12.31 kB / 441.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.2742, allocations: 38.89 kB / 441.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.084e-06/0.2742, allocations: 0 / 441.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004918/0.2791, allocations: 1.214 MB / 442.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.2792, allocations: 158.2 kB / 442.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000432/0.2796, allocations: 268.2 kB / 443.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.26e-05/0.2797, allocations: 37.7 kB / 443.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.2799, allocations: 212.7 kB / 443.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.28, allocations: 146.7 kB / 443.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.2802, allocations: 78.08 kB / 443.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.2803, allocations: 342.8 kB / 444 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005168/0.2809, allocations: 188.7 kB / 444.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006757/0.2815, allocations: 385.2 kB / 444.5 MB, free: 8.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.2826, allocations: 438.5 kB / 445 MB, free: 8.332 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.2826, allocations: 0 / 445 MB, free: 8.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001926/0.2845, allocations: 0.6781 MB / 445.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.2845, allocations: 8 kB / 445.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.2845, allocations: 0 / 445.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.2859, allocations: 309.5 kB / 446 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.2862, allocations: 91.81 kB / 446 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.2877, allocations: 1.347 MB / 447.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.2881, allocations: 75.84 kB / 447.5 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.2882, allocations: 16 kB / 447.5 MB, free: 5.746 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.0002108/0.2884, allocations: 153.8 kB / 447.6 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.2884, allocations: 39.77 kB / 447.7 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/0.2906, allocations: 0.7162 MB / 448.4 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.2906, allocations: 4 kB / 448.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.2906, allocations: 4 kB / 448.4 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.2906, allocations: 7.984 kB / 448.4 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000577/0.2912, allocations: 384.2 kB / 448.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2912, allocations: 0 / 448.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002899/0.2915, allocations: 55.95 kB / 448.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/0.2927, allocations: 321.4 kB / 449.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.2927, allocations: 12 kB / 449.2 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.2941, allocations: 1.358 MB / 450.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2941, allocations: 0 / 450.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/0.2967, allocations: 1.012 MB / 451.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.577e-05/0.2968, allocations: 39.8 kB / 451.6 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.2969, allocations: 8 kB / 451.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/0.2972, allocations: 47.88 kB / 451.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.433e-05/0.2973, allocations: 27.73 kB / 451.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.2973, allocations: 12 kB / 451.7 MB, free: 1.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002545/0.2976, allocations: 195.1 kB / 451.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2976, allocations: 0 / 451.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004241/0.298, allocations: 123.7 kB / 452 MB, free: 1.105 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.003045/0.301, allocations: 1.568 MB / 453.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001278/0.3023, allocations: 459.4 kB / 454 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3023, allocations: 192 / 454 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006031/0.3029, allocations: 236.2 kB / 454.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.3033, allocations: 48.58 kB / 454.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007451/0.3108, allocations: 4.079 MB / 458.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.311, allocations: 195 kB / 458.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001474/0.3111, allocations: 30.97 kB / 458.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.3113, allocations: 123.4 kB / 458.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3113, allocations: 0 / 458.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03783/0.3491, allocations: 9.292 MB / 468 MB, free: 1.113 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/12.93, allocations: 3.938 kB / 468 MB, free: 1.109 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 & 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: 15.406437707133591] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 13.04515614779666 13.060757574 12.792804518 Calling exit ...