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.0008924/0.0008924, allocations: 80.06 kB / 20.67 MB, free: 3.883 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.0009912/0.0009912, allocations: 153.1 kB / 23.93 MB, free: 0.625 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.9543/0.9543, allocations: 173.4 MB / 200.4 MB, free: 9.434 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.693e-06/1.693e-06, allocations: 0 / 318.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.408e-05, allocations: 3.688 kB / 318.4 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003099/0.003123, allocations: 2.886 MB / 321.3 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.004663, allocations: 0.7688 MB / 322.1 MB, free: 2.652 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.004862, allocations: 8 kB / 322.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.005045, allocations: 59.31 kB / 322.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.005248, allocations: 130.8 kB / 322.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.005699, allocations: 151.7 kB / 322.4 MB, free: 2.309 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004407/0.00614, allocations: 0.5694 MB / 323 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.006383, allocations: 116.8 kB / 323.1 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004364/0.006819, allocations: 323.4 kB / 323.4 MB, free: 1.301 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.007067, allocations: 191.5 kB / 323.6 MB, free: 1.113 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.538e-05/0.007142, allocations: 48 kB / 323.7 MB, free: 1.066 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.007261, allocations: 60 kB / 323.7 MB, free: 1.008 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.243e-05/0.007343, allocations: 119.6 kB / 323.8 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.007495, allocations: 163.6 kB / 324 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006727/0.008168, allocations: 0.5842 MB / 324.6 MB, free: 148 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.008172, allocations: 0 / 324.6 MB, free: 148 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.008174, allocations: 0 / 324.6 MB, free: 148 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.008186, allocations: 0 / 324.6 MB, free: 148 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.001199/0.009385, allocations: 0.7383 MB / 325.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.009429, allocations: 8.922 kB / 325.3 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.018e-05/0.0095, allocations: 78.7 kB / 325.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.577e-05/0.009575, allocations: 48.66 kB / 325.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.009948, allocations: 256.5 kB / 325.7 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.00997, allocations: 21.38 kB / 325.7 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.01002, allocations: 36.38 kB / 325.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007281/0.01074, allocations: 0.6595 MB / 326.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.01076, allocations: 192 / 326.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.01079, allocations: 16.12 kB / 326.4 MB, free: 14.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.0108, allocations: 12 kB / 326.5 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008056/0.0116, allocations: 0.4957 MB / 327 MB, free: 13.66 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.001908/0.01351, allocations: 1.232 MB / 328.2 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007217/0.01423, allocations: 407.6 kB / 328.6 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/0.01453, allocations: 213.4 kB / 328.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.01456, allocations: 12.33 kB / 328.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.01459, allocations: 42.88 kB / 328.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.743e-06/0.01459, allocations: 0 / 328.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.002604/0.0172, allocations: 1.207 MB / 330.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.857e-05/0.01727, allocations: 162.2 kB / 330.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.01749, allocations: 276.1 kB / 330.5 MB, free: 9.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.01752, allocations: 33.7 kB / 330.5 MB, free: 9.941 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.01763, allocations: 212.7 kB / 330.7 MB, free: 9.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.053e-05/0.01771, allocations: 142.8 kB / 330.9 MB, free: 9.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.344e-05/0.0178, allocations: 74.19 kB / 330.9 MB, free: 9.512 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.507e-05/0.0179, allocations: 342.8 kB / 331.3 MB, free: 9.168 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/0.0182, allocations: 184.8 kB / 331.4 MB, free: 8.988 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/0.01857, allocations: 397.8 kB / 331.8 MB, free: 8.539 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005845/0.01916, allocations: 426.5 kB / 332.3 MB, free: 8.098 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01916, allocations: 0 / 332.3 MB, free: 8.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001017/0.02018, allocations: 0.6782 MB / 332.9 MB, free: 7.406 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.0202, allocations: 10.81 kB / 332.9 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.02021, allocations: 3.938 kB / 332.9 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007259/0.02094, allocations: 313.5 kB / 333.3 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.02113, allocations: 83.88 kB / 333.3 MB, free: 7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008717/0.022, allocations: 1.347 MB / 334.7 MB, free: 5.602 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.02225, allocations: 79.61 kB / 334.8 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.02227, allocations: 12 kB / 334.8 MB, free: 5.512 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.0001908/0.02246, allocations: 164.8 kB / 334.9 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.0225, allocations: 39.8 kB / 335 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.02364, allocations: 0.7197 MB / 335.7 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.02365, allocations: 4 kB / 335.7 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.02365, allocations: 0 / 335.7 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.02366, allocations: 3.984 kB / 335.7 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.02409, allocations: 384.2 kB / 336.1 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.02409, allocations: 0 / 336.1 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.02425, allocations: 67.89 kB / 336.1 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007517/0.025, allocations: 317.6 kB / 336.4 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.02504, allocations: 11.98 kB / 336.5 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007757/0.02581, allocations: 1.366 MB / 337.8 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.02581, allocations: 4.031 kB / 337.8 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.02719, allocations: 1.008 MB / 338.8 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/0.02724, allocations: 39.75 kB / 338.9 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.02727, allocations: 11.94 kB / 338.9 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.02745, allocations: 44 kB / 338.9 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.0275, allocations: 27.95 kB / 339 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.02752, allocations: 12 kB / 339 MB, free: 1.164 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001363/0.02765, allocations: 195.1 kB / 339.2 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02765, allocations: 0 / 339.2 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002981/0.02795, allocations: 107.8 kB / 339.3 MB, free: 0.8672 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.001594/0.02955, allocations: 1.565 MB / 340.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000771/0.03032, allocations: 455.4 kB / 341.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.03032, allocations: 0 / 341.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003807/0.0307, allocations: 251.5 kB / 341.5 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.03101, allocations: 52.88 kB / 341.6 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004402/0.03541, allocations: 3.995 MB / 345.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.03553, allocations: 195 kB / 345.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.03564, allocations: 30.97 kB / 345.8 MB, free: 10.15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.03577, allocations: 124.5 kB / 345.9 MB, free: 10.03 MB / 314.7 MB Notification: Performance of SimCode: time 9.22e-07/0.03577, allocations: 0 / 345.9 MB, free: 10.03 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.06121, allocations: 9.373 MB / 355.3 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/8.02, allocations: 5.562 kB / 355.3 MB, free: 0.8359 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter_fmu --startTime=0 --stopTime=5 --stepSize=0.000989903 --timeout=50 --tolerance=1e-06 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.753910074010491] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 8.113969234749675 8.122220405 8.112323459 Calling exit ...