Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002156/0.002156, allocations: 191.3 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.7 MB / 252.5 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 56 kB / 370.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2635, allocations: 52.18 MB / 422.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005098/0.2686, allocations: 2.912 MB / 425.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.27, allocations: 0.7417 MB / 426.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.2702, allocations: 11.94 kB / 426.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.2703, allocations: 63.38 kB / 426.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.2705, allocations: 118.9 kB / 426.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.271, allocations: 155.7 kB / 426.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005644/0.2715, allocations: 0.5423 MB / 427.1 MB, free: 9.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002731/0.2718, allocations: 114.5 kB / 427.2 MB, free: 9.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002946/0.2721, allocations: 227.3 kB / 427.5 MB, free: 9.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000297/0.2724, allocations: 223 kB / 427.7 MB, free: 9.391 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.766e-05/0.2725, allocations: 48 kB / 427.7 MB, free: 9.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.2726, allocations: 60 kB / 427.8 MB, free: 9.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001979/0.2728, allocations: 111.7 kB / 427.9 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.273, allocations: 207 kB / 428.1 MB, free: 8.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006006/0.2736, allocations: 0.5564 MB / 428.6 MB, free: 8.414 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.2736, allocations: 4 kB / 428.6 MB, free: 8.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2736, allocations: 0 / 428.6 MB, free: 8.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.2736, allocations: 0 / 428.6 MB, free: 8.41 MB / 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.001548/0.2752, allocations: 0.7274 MB / 429.4 MB, free: 7.652 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2752, allocations: 12.03 kB / 429.4 MB, free: 7.641 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.23e-05/0.2753, allocations: 74.72 kB / 429.5 MB, free: 7.559 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.986e-05/0.2754, allocations: 48.66 kB / 429.5 MB, free: 7.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.2759, allocations: 260.8 kB / 429.8 MB, free: 7.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.2759, allocations: 29.38 kB / 429.8 MB, free: 7.203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.73e-05/0.276, allocations: 40.36 kB / 429.8 MB, free: 7.164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.2771, allocations: 0.6513 MB / 430.5 MB, free: 6.453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.2771, allocations: 0 / 430.5 MB, free: 6.453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/0.2772, allocations: 20 kB / 430.5 MB, free: 6.434 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.2772, allocations: 11.98 kB / 430.5 MB, free: 6.422 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.2785, allocations: 0.4957 MB / 431 MB, free: 5.93 MB / 334.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.002457/0.281, allocations: 1.247 MB / 432.3 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.282, allocations: 398.7 kB / 432.6 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005028/0.2825, allocations: 225.4 kB / 432.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.2826, allocations: 4.328 kB / 432.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.2826, allocations: 42.83 kB / 432.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.422e-06/0.2826, allocations: 0 / 432.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.004773/0.2874, allocations: 1.21 MB / 434.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.2875, allocations: 162.2 kB / 434.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003557/0.2878, allocations: 280.1 kB / 434.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.2879, allocations: 33.7 kB / 434.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.288, allocations: 208.7 kB / 434.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.2882, allocations: 150.8 kB / 434.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.2883, allocations: 74.12 kB / 435 MB, free: 1.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002554/0.2886, allocations: 342.8 kB / 435.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005785/0.2891, allocations: 184.8 kB / 435.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007248/0.2899, allocations: 381.3 kB / 435.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.2909, allocations: 430.5 kB / 436.3 MB, free: 368 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.2909, allocations: 4 kB / 436.3 MB, free: 364 kB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001855/0.2927, allocations: 0.6782 MB / 437 MB, free: 15.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.2928, allocations: 4 kB / 437 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.2928, allocations: 4 kB / 437 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.2941, allocations: 321.3 kB / 437.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/0.2944, allocations: 79.88 kB / 437.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/0.2958, allocations: 1.347 MB / 438.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004336/0.2962, allocations: 75.7 kB / 438.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.2963, allocations: 24.11 kB / 438.8 MB, free: 13.76 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.0001982/0.2965, allocations: 157.7 kB / 439 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.056e-05/0.2965, allocations: 31.81 kB / 439 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.2987, allocations: 0.7201 MB / 439.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.2987, allocations: 4 kB / 439.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.2987, allocations: 0 / 439.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.2987, allocations: 3.984 kB / 439.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000574/0.2993, allocations: 388.1 kB / 440.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2993, allocations: 0 / 440.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.2996, allocations: 59.89 kB / 440.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001147/0.3007, allocations: 317.4 kB / 440.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.3007, allocations: 12 kB / 440.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.3021, allocations: 1.37 MB / 441.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3021, allocations: 0 / 441.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.3046, allocations: 1.012 MB / 442.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.649e-05/0.3047, allocations: 35.64 kB / 442.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.976e-05/0.3047, allocations: 12 kB / 442.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003574/0.3051, allocations: 48 kB / 443 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/0.3052, allocations: 23.95 kB / 443 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-05/0.3052, allocations: 12 kB / 443 MB, free: 9.426 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002546/0.3054, allocations: 191.2 kB / 443.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3054, allocations: 0 / 443.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004174/0.3059, allocations: 119.7 kB / 443.3 MB, free: 9.125 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.002966/0.3088, allocations: 1.576 MB / 444.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001278/0.3101, allocations: 455.5 kB / 445.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3101, allocations: 0 / 445.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006087/0.3107, allocations: 232.1 kB / 445.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.3111, allocations: 52.64 kB / 445.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007382/0.3185, allocations: 4.064 MB / 449.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.3187, allocations: 191 kB / 449.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001419/0.3188, allocations: 34.97 kB / 449.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.319, allocations: 119.4 kB / 450 MB, free: 2.23 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.319, allocations: 3.938 kB / 450 MB, free: 2.227 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03883/0.3578, allocations: 9.254 MB / 459.3 MB, free: 9.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/12.97, allocations: 18.14 kB / 459.3 MB, free: 9.156 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.465982909314334] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 13.087925971951336 13.113608452 12.835240145 Calling exit ...