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.001054/0.001054, allocations: 76.08 kB / 20.67 MB, free: 3.879 MB / 18.57 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.0008677/0.0008677, allocations: 157.1 kB / 23.94 MB, free: 0.6133 MB / 18.57 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 0.8939/0.8939, allocations: 173.4 MB / 200.4 MB, free: 9.453 MB / 186.7 MB " [Timeout remaining time 179] 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 1.814e-06/1.814e-06, allocations: 0 / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.194e-05/3.375e-05, allocations: 9.516 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004768/0.004802, allocations: 2.898 MB / 321.3 MB, free: 3.434 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.00617, allocations: 0.7689 MB / 322.1 MB, free: 2.66 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.006369, allocations: 11.94 kB / 322.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.006557, allocations: 63.3 kB / 322.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.006728, allocations: 122.8 kB / 322.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004634/0.007191, allocations: 151.8 kB / 322.4 MB, free: 2.316 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004846/0.007676, allocations: 0.5616 MB / 323 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002531/0.007929, allocations: 120.8 kB / 323.1 MB, free: 1.629 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003815/0.008311, allocations: 331.2 kB / 323.5 MB, free: 1.305 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.008503, allocations: 187.5 kB / 323.6 MB, free: 1.121 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.554e-05/0.008559, allocations: 52 kB / 323.7 MB, free: 1.07 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-05/0.008647, allocations: 56 kB / 323.7 MB, free: 1.016 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.812e-05/0.008715, allocations: 115.6 kB / 323.9 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.008837, allocations: 167.6 kB / 324 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005305/0.009367, allocations: 0.5842 MB / 324.6 MB, free: 156 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.009372, allocations: 0 / 324.6 MB, free: 156 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.009374, allocations: 0 / 324.6 MB, free: 156 kB / 282.7 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.009383, allocations: 0 / 324.6 MB, free: 156 kB / 282.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.001177/0.01056, allocations: 0.7306 MB / 325.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.01061, allocations: 8.922 kB / 325.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.065e-05/0.01068, allocations: 78.72 kB / 325.4 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.52e-05/0.01075, allocations: 48.66 kB / 325.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.01113, allocations: 260.5 kB / 325.7 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.01115, allocations: 29.31 kB / 325.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.07e-05/0.0112, allocations: 32.38 kB / 325.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008558/0.01206, allocations: 0.6557 MB / 326.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.01207, allocations: 192 / 326.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.01211, allocations: 20.12 kB / 326.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.01212, allocations: 12 kB / 326.5 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007711/0.01289, allocations: 0.4957 MB / 327 MB, free: 13.67 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.001766/0.01465, allocations: 1.229 MB / 328.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007277/0.01538, allocations: 407.6 kB / 328.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/0.01569, allocations: 216.4 kB / 328.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.01573, allocations: 12.31 kB / 328.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.01576, allocations: 38.89 kB / 328.9 MB, free: 11.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 3.426e-06/0.01576, allocations: 0 / 328.9 MB, free: 11.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.002791/0.01855, allocations: 1.214 MB / 330.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/0.01863, allocations: 166.2 kB / 330.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.01886, allocations: 272.1 kB / 330.5 MB, free: 9.988 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.01889, allocations: 37.7 kB / 330.5 MB, free: 9.945 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.01899, allocations: 208.7 kB / 330.7 MB, free: 9.738 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.285e-05/0.01908, allocations: 138.8 kB / 330.9 MB, free: 9.602 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-05/0.01917, allocations: 74.19 kB / 330.9 MB, free: 9.523 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.602e-05/0.01927, allocations: 350.8 kB / 331.3 MB, free: 9.172 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/0.01957, allocations: 176.9 kB / 331.5 MB, free: 9 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003882/0.01995, allocations: 397.8 kB / 331.8 MB, free: 8.551 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000579/0.02053, allocations: 426.6 kB / 332.3 MB, free: 8.109 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.02054, allocations: 0 / 332.3 MB, free: 8.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001346/0.02188, allocations: 0.6743 MB / 332.9 MB, free: 7.422 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.0219, allocations: 4 kB / 332.9 MB, free: 7.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.02191, allocations: 11.88 kB / 333 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00081/0.02272, allocations: 321.4 kB / 333.3 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.02291, allocations: 79.88 kB / 333.3 MB, free: 7.008 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009069/0.02382, allocations: 1.343 MB / 334.7 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.02407, allocations: 83.83 kB / 334.8 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.02409, allocations: 16.03 kB / 334.8 MB, free: 5.516 MB / 298.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.0001743/0.02427, allocations: 161.7 kB / 334.9 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.02432, allocations: 35.81 kB / 335 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.02551, allocations: 0.7236 MB / 335.7 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.02551, allocations: 4 kB / 335.7 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.02552, allocations: 0 / 335.7 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.02552, allocations: 3.984 kB / 335.7 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/0.02591, allocations: 380.3 kB / 336.1 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.02591, allocations: 0 / 336.1 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.02607, allocations: 63.83 kB / 336.1 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006689/0.02674, allocations: 325.5 kB / 336.5 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.02677, allocations: 8 kB / 336.5 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000882/0.02765, allocations: 1.362 MB / 337.8 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.02765, allocations: 0 / 337.8 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.02919, allocations: 1.015 MB / 338.8 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.02925, allocations: 35.72 kB / 338.9 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.02929, allocations: 8 kB / 338.9 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.02947, allocations: 43.94 kB / 338.9 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.128e-05/0.02955, allocations: 23.95 kB / 339 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.02956, allocations: 12 kB / 339 MB, free: 1.184 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001803/0.02974, allocations: 199.1 kB / 339.2 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02974, allocations: 0 / 339.2 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003649/0.03011, allocations: 111.8 kB / 339.3 MB, free: 0.8789 MB / 298.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.002059/0.03217, allocations: 1.565 MB / 340.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009616/0.03313, allocations: 451.4 kB / 341.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.03313, allocations: 0 / 341.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000374/0.03351, allocations: 252 kB / 341.5 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.03392, allocations: 52.5 kB / 341.6 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005086/0.039, allocations: 3.998 MB / 345.6 MB, free: 10.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.03915, allocations: 191 kB / 345.8 MB, free: 10.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.03926, allocations: 34.97 kB / 345.8 MB, free: 10.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.03939, allocations: 128.4 kB / 345.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of SimCode: time 1.784e-06/0.03939, allocations: 0 / 345.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/0.06839, allocations: 9.371 MB / 355.3 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.056, allocations: 6.812 kB / 355.3 MB, free: 0.8438 MB / 314.7 MB " [Timeout remaining time 652] (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: 9.856106923893094] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 8.154082579538226 8.17039383 8.157898038 Calling exit ...