Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001468/0.001468, allocations: 110.5 kB / 19.74 MB, free: 2.586 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.001554/0.001554, allocations: 220.5 kB / 22.92 MB, free: 5.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.278/1.278, allocations: 230.5 MB / 256.4 MB, free: 8.301 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 67.89 kB / 376.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2053, allocations: 53.31 MB / 429.4 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004164/0.2095, allocations: 3.191 MB / 432.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.2108, allocations: 0.8585 MB / 433.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.211, allocations: 4 kB / 433.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.2111, allocations: 67.31 kB / 433.5 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.2113, allocations: 118.9 kB / 433.6 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.2117, allocations: 159.7 kB / 433.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005078/0.2122, allocations: 0.5464 MB / 434.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.2124, allocations: 120.4 kB / 434.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002945/0.2127, allocations: 231.2 kB / 434.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002974/0.213, allocations: 262.9 kB / 434.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.187e-05/0.2131, allocations: 48 kB / 435 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.2132, allocations: 60 kB / 435.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.2133, allocations: 111.7 kB / 435.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.2135, allocations: 242.8 kB / 435.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005483/0.2141, allocations: 0.5607 MB / 436 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2141, allocations: 4 kB / 436 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2141, allocations: 0 / 436 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.2141, allocations: 0 / 436 MB, free: 0.8789 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.001545/0.2156, allocations: 0.8027 MB / 436.8 MB, free: 24 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.2156, allocations: 12.03 kB / 436.8 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001012/0.2158, allocations: 78.7 kB / 436.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.2159, allocations: 60.61 kB / 436.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.2163, allocations: 315.5 kB / 437.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.2164, allocations: 29.38 kB / 437.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.737e-05/0.2164, allocations: 40.36 kB / 437.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.2175, allocations: 0.5046 MB / 437.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.2175, allocations: 0 / 437.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.164e-05/0.2175, allocations: 16 kB / 437.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.2175, allocations: 8 kB / 437.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.2188, allocations: 0.4996 MB / 438.3 MB, free: 14.41 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.002422/0.2212, allocations: 1.663 MB / 440 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.2223, allocations: 403.7 kB / 440.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004941/0.2227, allocations: 228.6 kB / 440.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/0.2228, allocations: 12.31 kB / 440.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.2228, allocations: 38.88 kB / 440.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.392e-06/0.2228, allocations: 4 kB / 440.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004631/0.2275, allocations: 1.353 MB / 442 MB, free: 10.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.2276, allocations: 166.2 kB / 442.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.2279, allocations: 270.9 kB / 442.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.2279, allocations: 37.7 kB / 442.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.228, allocations: 212.7 kB / 442.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.2282, allocations: 146.7 kB / 442.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.2283, allocations: 78.12 kB / 442.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2284, allocations: 342.8 kB / 443.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004943/0.2289, allocations: 180.8 kB / 443.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00057/0.2295, allocations: 282.5 kB / 443.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009626/0.2304, allocations: 426.5 kB / 444.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2305, allocations: 0 / 444.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001781/0.2322, allocations: 0.6781 MB / 444.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.2322, allocations: 6.812 kB / 444.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2323, allocations: 4 kB / 444.8 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.2334, allocations: 317.4 kB / 445.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.2338, allocations: 83.88 kB / 445.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.235, allocations: 1.347 MB / 446.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004082/0.2354, allocations: 83.73 kB / 446.6 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.2355, allocations: 16 kB / 446.6 MB, free: 5.68 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.0001763/0.2357, allocations: 163 kB / 446.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.731e-05/0.2357, allocations: 35.77 kB / 446.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/0.2378, allocations: 0.7123 MB / 447.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2378, allocations: 8 kB / 447.5 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2378, allocations: 4 kB / 447.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2378, allocations: 4.172 kB / 447.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005312/0.2384, allocations: 465.1 kB / 448 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2384, allocations: 3.938 kB / 448 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.2386, allocations: 59.89 kB / 448.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/0.2398, allocations: 329.3 kB / 448.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.2398, allocations: 8 kB / 448.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/0.241, allocations: 1.355 MB / 449.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.241, allocations: 0 / 449.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/0.2435, allocations: 1.019 MB / 450.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.347e-05/0.2436, allocations: 116.8 kB / 450.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5e-05/0.2437, allocations: 12.06 kB / 450.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003591/0.244, allocations: 43.94 kB / 450.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.2441, allocations: 27.75 kB / 451 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.2441, allocations: 12 kB / 451 MB, free: 1.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002286/0.2443, allocations: 193.9 kB / 451.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2443, allocations: 0 / 451.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003661/0.2447, allocations: 115.8 kB / 451.3 MB, free: 0.8555 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.00282/0.2475, allocations: 1.56 MB / 452.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.2487, allocations: 459.5 kB / 453.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.2487, allocations: 4 kB / 453.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005771/0.2493, allocations: 235.8 kB / 453.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.2497, allocations: 52.84 kB / 453.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006948/0.2566, allocations: 4.085 MB / 457.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.257, allocations: 0.7956 MB / 458.5 MB, free: 9.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.2571, allocations: 38.91 kB / 458.5 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.2573, allocations: 119.4 kB / 458.6 MB, free: 9.324 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2573, allocations: 0 / 458.6 MB, free: 9.324 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03649/0.2938, allocations: 9.543 MB / 468.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.24, allocations: 3.578 kB / 468.2 MB, free: 15.92 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingMOSInverter_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.336873592001211]