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.001379/0.001379, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.001604/0.001604, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.498/1.498, allocations: 230.5 MB / 257.4 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001954/0.001954, allocations: 63.89 kB / 377.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2834, allocations: 53.4 MB / 431.1 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004655/0.2881, allocations: 2.922 MB / 434.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.2898, allocations: 0.8234 MB / 434.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/0.29, allocations: 7.938 kB / 434.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.2902, allocations: 63.31 kB / 435 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002259/0.2904, allocations: 114.9 kB / 435.1 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.2909, allocations: 167.7 kB / 435.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006207/0.2915, allocations: 0.5462 MB / 435.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/0.2918, allocations: 114.5 kB / 435.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003545/0.2922, allocations: 227.3 kB / 436.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.2925, allocations: 219 kB / 436.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.942e-05/0.2926, allocations: 52 kB / 436.4 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.2927, allocations: 67.97 kB / 436.5 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.2928, allocations: 111.6 kB / 436.6 MB, free: 1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002079/0.293, allocations: 203.2 kB / 436.8 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006594/0.2937, allocations: 0.5642 MB / 437.3 MB, free: 240 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2937, allocations: 4 kB / 437.3 MB, free: 236 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2937, allocations: 0 / 437.3 MB, free: 236 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.2937, allocations: 0 / 437.3 MB, free: 236 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.001678/0.2954, allocations: 0.7391 MB / 438.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.2954, allocations: 11.98 kB / 438.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.2955, allocations: 74.72 kB / 438.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001976/0.2957, allocations: 64.59 kB / 438.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004634/0.2962, allocations: 253.2 kB / 438.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.2962, allocations: 29.38 kB / 438.5 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.55e-05/0.2963, allocations: 36.38 kB / 438.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.2975, allocations: 0.6552 MB / 439.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.2975, allocations: 0 / 439.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.464e-05/0.2975, allocations: 16 kB / 439.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.2976, allocations: 8 kB / 439.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.2989, allocations: 0.4996 MB / 439.7 MB, free: 13.73 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.002536/0.3014, allocations: 1.247 MB / 440.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.3026, allocations: 406.7 kB / 441.3 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005148/0.3031, allocations: 220.9 kB / 441.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.3032, allocations: 8.328 kB / 441.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/0.3032, allocations: 46.89 kB / 441.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.573e-06/0.3032, allocations: 0 / 441.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004863/0.3081, allocations: 1.218 MB / 442.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/0.3082, allocations: 158.2 kB / 443 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004717/0.3087, allocations: 268.2 kB / 443.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.376e-05/0.3088, allocations: 37.7 kB / 443.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.309, allocations: 216.7 kB / 443.5 MB, free: 9.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.3092, allocations: 150.7 kB / 443.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.3094, allocations: 82.08 kB / 443.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002454/0.3096, allocations: 338.8 kB / 444.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005315/0.3101, allocations: 184.8 kB / 444.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007187/0.3109, allocations: 385.3 kB / 444.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.3119, allocations: 418.6 kB / 445 MB, free: 8.152 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3119, allocations: 0 / 445 MB, free: 8.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001877/0.3138, allocations: 0.6781 MB / 445.7 MB, free: 7.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.3138, allocations: 8 kB / 445.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3138, allocations: 3.984 kB / 445.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/0.3152, allocations: 321.4 kB / 446 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.3156, allocations: 79.88 kB / 446.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.317, allocations: 1.343 MB / 447.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004576/0.3175, allocations: 71.72 kB / 447.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.3175, allocations: 19.98 kB / 447.5 MB, free: 5.566 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.0002304/0.3178, allocations: 154.8 kB / 447.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.461e-05/0.3178, allocations: 35.83 kB / 447.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/0.32, allocations: 0.7201 MB / 448.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.32, allocations: 7.938 kB / 448.5 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.32, allocations: 4 kB / 448.5 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.32, allocations: 3.984 kB / 448.5 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005409/0.3205, allocations: 380.3 kB / 448.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.3205, allocations: 4 kB / 448.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.3208, allocations: 63.88 kB / 448.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001169/0.322, allocations: 325.3 kB / 449.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.322, allocations: 8 kB / 449.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.3234, allocations: 1.362 MB / 450.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3234, allocations: 0 / 450.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002523/0.3259, allocations: 1.008 MB / 451.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.932e-05/0.326, allocations: 39.73 kB / 451.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.39e-05/0.326, allocations: 8 kB / 451.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.3264, allocations: 43.94 kB / 451.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/0.3264, allocations: 27.73 kB / 451.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.3265, allocations: 20.05 kB / 451.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002516/0.3267, allocations: 195.1 kB / 451.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3267, allocations: 0 / 451.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004096/0.3271, allocations: 119.7 kB / 452 MB, free: 0.918 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.002939/0.3301, allocations: 1.564 MB / 453.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.3313, allocations: 468 kB / 454.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3313, allocations: 0 / 454.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006032/0.3319, allocations: 235.8 kB / 454.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.3323, allocations: 43.45 kB / 454.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007318/0.3397, allocations: 4.077 MB / 458.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.3398, allocations: 194.9 kB / 458.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.34, allocations: 30.97 kB / 458.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.3402, allocations: 127.4 kB / 458.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3402, allocations: 4 kB / 458.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04065/0.3808, allocations: 9.283 MB / 468 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/12.94, allocations: 0 / 468 MB, free: 0.8867 MB / 366.1 MB " [Timeout remaining time 647] (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: 15.435175673104823] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 13.066899023018777 13.092780675 12.794425988 Calling exit ...