Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008371/0.0008371, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009396/0.0009396, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8827/0.8827, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.108e-05, allocations: 6.281 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003305/0.003326, allocations: 2.931 MB / 327.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.004911, allocations: 0.8195 MB / 328.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002398/0.005151, allocations: 4 kB / 328.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.005346, allocations: 63.3 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.005537, allocations: 122.8 kB / 328.5 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.005987, allocations: 167.6 kB / 328.6 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000494/0.006481, allocations: 0.5694 MB / 329.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.00672, allocations: 108.8 kB / 329.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004656/0.007186, allocations: 331.3 kB / 329.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.00742, allocations: 191.4 kB / 329.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.52e-05/0.007485, allocations: 52 kB / 329.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.007609, allocations: 63.94 kB / 329.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.111e-05/0.00769, allocations: 119.6 kB / 330 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.007831, allocations: 175.6 kB / 330.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006441/0.008475, allocations: 0.5803 MB / 330.8 MB, free: 9.562 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.00848, allocations: 0 / 330.8 MB, free: 9.562 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.008482, allocations: 0 / 330.8 MB, free: 9.562 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.00849, allocations: 0 / 330.8 MB, free: 9.562 MB / 298.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.00118/0.00967, allocations: 0.7313 MB / 331.5 MB, free: 8.801 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.009717, allocations: 11.98 kB / 331.5 MB, free: 8.789 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.218e-05/0.009789, allocations: 78.72 kB / 331.6 MB, free: 8.703 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.009956, allocations: 60.59 kB / 331.7 MB, free: 8.645 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.01034, allocations: 252.5 kB / 331.9 MB, free: 8.371 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.01037, allocations: 33.31 kB / 332 MB, free: 8.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.852e-05/0.01041, allocations: 40.36 kB / 332 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008385/0.01125, allocations: 0.6556 MB / 332.7 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.01127, allocations: 192 / 332.7 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.0113, allocations: 20.12 kB / 332.7 MB, free: 7.562 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.01131, allocations: 8 kB / 332.7 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000755/0.01206, allocations: 0.4996 MB / 333.2 MB, free: 7.059 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.001653/0.01371, allocations: 1.247 MB / 334.4 MB, free: 5.734 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007044/0.01442, allocations: 403.6 kB / 334.8 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.01472, allocations: 213.4 kB / 335 MB, free: 5.121 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.01475, allocations: 24.25 kB / 335.1 MB, free: 5.098 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.01478, allocations: 38.89 kB / 335.1 MB, free: 5.051 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 2.395e-06/0.01478, allocations: 0 / 335.1 MB, free: 5.051 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.002784/0.01756, allocations: 1.21 MB / 336.3 MB, free: 3.828 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/0.01763, allocations: 162.2 kB / 336.5 MB, free: 3.633 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.01787, allocations: 272.2 kB / 336.7 MB, free: 3.359 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.0179, allocations: 33.7 kB / 336.8 MB, free: 3.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.01801, allocations: 216.7 kB / 337 MB, free: 3.105 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.865e-05/0.01809, allocations: 138.8 kB / 337.1 MB, free: 2.969 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.637e-05/0.01818, allocations: 82.14 kB / 337.2 MB, free: 2.883 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.01829, allocations: 342.8 kB / 337.5 MB, free: 2.539 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.01859, allocations: 180.9 kB / 337.7 MB, free: 2.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003744/0.01896, allocations: 386 kB / 338.1 MB, free: 1.922 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005862/0.01955, allocations: 422.6 kB / 338.5 MB, free: 1.484 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.01956, allocations: 4 kB / 338.5 MB, free: 1.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00107/0.02063, allocations: 0.6782 MB / 339.2 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.02064, allocations: 4 kB / 339.2 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.02065, allocations: 7.938 kB / 339.2 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007964/0.02145, allocations: 321.4 kB / 339.5 MB, free: 468 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.02165, allocations: 79.88 kB / 339.6 MB, free: 388 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000894/0.02254, allocations: 1.351 MB / 340.9 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.02281, allocations: 79.62 kB / 341 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.02283, allocations: 19.98 kB / 341 MB, free: 14.88 MB / 314.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.000162/0.02299, allocations: 157.8 kB / 341.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.02304, allocations: 35.77 kB / 341.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.02425, allocations: 0.7162 MB / 341.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.02425, allocations: 8.031 kB / 341.9 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.02426, allocations: 3.984 kB / 341.9 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.02427, allocations: 0 / 341.9 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/0.02467, allocations: 376.3 kB / 342.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.02467, allocations: 3.984 kB / 342.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.02484, allocations: 67.83 kB / 342.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007471/0.02558, allocations: 317.4 kB / 342.7 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/0.02562, allocations: 8 kB / 342.7 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008355/0.02645, allocations: 1.358 MB / 344.1 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.02646, allocations: 0 / 344.1 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.02795, allocations: 1.023 MB / 345.1 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.681e-05/0.02802, allocations: 35.67 kB / 345.1 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.02806, allocations: 11.98 kB / 345.1 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.02825, allocations: 44.02 kB / 345.2 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.02832, allocations: 27.95 kB / 345.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.02834, allocations: 11.98 kB / 345.2 MB, free: 10.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001753/0.02852, allocations: 195.1 kB / 345.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02852, allocations: 0 / 345.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003529/0.02887, allocations: 107.8 kB / 345.5 MB, free: 10.25 MB / 314.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.001799/0.03067, allocations: 1.572 MB / 347.1 MB, free: 8.645 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000851/0.03152, allocations: 463.7 kB / 347.5 MB, free: 8.191 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.03152, allocations: 0 / 347.5 MB, free: 8.191 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003388/0.03186, allocations: 239.8 kB / 347.8 MB, free: 7.957 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.03222, allocations: 53 kB / 347.8 MB, free: 7.906 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005022/0.03724, allocations: 4.013 MB / 351.8 MB, free: 3.758 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.03739, allocations: 195 kB / 352 MB, free: 3.547 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.03752, allocations: 34.95 kB / 352 MB, free: 3.508 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.03765, allocations: 120.5 kB / 352.2 MB, free: 3.391 MB / 314.7 MB Notification: Performance of SimCode: time 2.094e-06/0.03765, allocations: 0 / 352.2 MB, free: 3.391 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.0643, allocations: 9.403 MB / 361.6 MB, free: 10.14 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.629/7.694, allocations: 8.062 kB / 361.6 MB, free: 10.14 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter_fmu --startTime=0 --stopTime=5 --stepSize=0.000989903 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.340900027193129] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 7.791987161152065 7.801873692 7.791587695 Calling exit ...