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.001671/0.001671, allocations: 118.7 kB / 18.5 MB, free: 4.574 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.002066/0.002066, allocations: 210.5 kB / 21.46 MB, free: 1.617 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.478/1.478, allocations: 230.5 MB / 254.7 MB, free: 14.99 MB / 206.1 MB " [Timeout remaining time 178] 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.001948/0.001948, allocations: 67.89 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1045, allocations: 53.32 MB / 426.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004872/0.1094, allocations: 3.18 MB / 430.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.1113, allocations: 0.8469 MB / 430.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000209/0.1115, allocations: 7.938 kB / 430.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002186/0.1117, allocations: 59.38 kB / 431 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.112, allocations: 118.9 kB / 431.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.1124, allocations: 159.7 kB / 431.3 MB, free: 484 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2104/0.3228, allocations: 0.5465 MB / 431.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004275/0.3232, allocations: 119.4 kB / 431.9 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006039/0.3238, allocations: 229.2 kB / 432.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003376/0.3242, allocations: 254.8 kB / 432.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.892e-05/0.3243, allocations: 50.81 kB / 432.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.3244, allocations: 63.77 kB / 432.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.417e-05/0.3245, allocations: 109 kB / 432.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.3248, allocations: 244.6 kB / 432.8 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006031/0.3254, allocations: 0.5568 MB / 433.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3254, allocations: 4.891 kB / 433.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3254, allocations: 0.625 kB / 433.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.3254, allocations: 2.5 kB / 433.4 MB, free: 7.508 MB / 350.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.001463/0.3268, allocations: 0.806 MB / 434.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3269, allocations: 11.34 kB / 434.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.819e-05/0.3269, allocations: 74.72 kB / 434.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.3271, allocations: 61.22 kB / 434.4 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000425/0.3276, allocations: 326.6 kB / 434.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.3276, allocations: 28.16 kB / 434.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.3277, allocations: 40.55 kB / 434.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009317/0.3286, allocations: 0.5043 MB / 435.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.3286, allocations: 0 / 435.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.021e-05/0.3286, allocations: 14.78 kB / 435.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.3287, allocations: 13.62 kB / 435.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.3299, allocations: 0.4973 MB / 435.8 MB, free: 6.598 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.002462/0.3324, allocations: 1.659 MB / 437.4 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.3334, allocations: 404.4 kB / 437.8 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004679/0.3339, allocations: 219.9 kB / 438 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.891e-05/0.3339, allocations: 10.58 kB / 438.1 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.3339, allocations: 42.39 kB / 438.1 MB, free: 5.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.804e-06/0.3339, allocations: 0 / 438.1 MB, free: 5.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004781/0.3387, allocations: 1.356 MB / 439.5 MB, free: 5.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.3388, allocations: 160.5 kB / 439.6 MB, free: 5.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.3391, allocations: 274.2 kB / 439.9 MB, free: 4.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.3391, allocations: 36.48 kB / 439.9 MB, free: 4.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.3392, allocations: 216.4 kB / 440.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.475e-05/0.3393, allocations: 144.3 kB / 440.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.3394, allocations: 76.34 kB / 440.3 MB, free: 4.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.622e-05/0.3395, allocations: 340.3 kB / 440.7 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004788/0.34, allocations: 187 kB / 440.9 MB, free: 4.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000517/0.3405, allocations: 283.4 kB / 441.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008918/0.3414, allocations: 419.4 kB / 441.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3414, allocations: 1.125 kB / 441.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00183/0.3432, allocations: 0.678 MB / 442.2 MB, free: 3.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.3432, allocations: 11.25 kB / 442.2 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.3432, allocations: 5.25 kB / 442.2 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.3446, allocations: 322.4 kB / 442.6 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.3449, allocations: 77.28 kB / 442.6 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/0.346, allocations: 1.346 MB / 444 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00049/0.3465, allocations: 81.52 kB / 444.1 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.3465, allocations: 16.62 kB / 444.1 MB, free: 2.309 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.0001918/0.3467, allocations: 153.6 kB / 444.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.092e-05/0.3468, allocations: 41.64 kB / 444.3 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002041/0.3488, allocations: 0.7253 MB / 445 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.3488, allocations: 4.5 kB / 445 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3488, allocations: 1.25 kB / 445 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.3488, allocations: 2.156 kB / 445 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005411/0.3494, allocations: 468 kB / 445.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3494, allocations: 0 / 445.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.3497, allocations: 56.7 kB / 445.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/0.3508, allocations: 329.1 kB / 445.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/0.3509, allocations: 12 kB / 445.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009209/0.3518, allocations: 1.354 MB / 447.2 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3518, allocations: 0 / 447.2 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/0.3542, allocations: 1.017 MB / 448.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.3543, allocations: 117.3 kB / 448.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.295e-05/0.3544, allocations: 10.97 kB / 448.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003619/0.3547, allocations: 42.06 kB / 448.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/0.3548, allocations: 27.25 kB / 448.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.3548, allocations: 13.39 kB / 448.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002573/0.3551, allocations: 195.3 kB / 448.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3551, allocations: 1.344 kB / 448.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004438/0.3555, allocations: 109.2 kB / 448.7 MB, free: 15.62 MB / 366.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.00299/0.3585, allocations: 1.569 MB / 450.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.3599, allocations: 462.2 kB / 450.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.3599, allocations: 1.5 kB / 450.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006235/0.3605, allocations: 241.3 kB / 451 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.3609, allocations: 52.31 kB / 451 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007695/0.3686, allocations: 4.065 MB / 455.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.3691, allocations: 0.7992 MB / 455.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001681/0.3692, allocations: 28.58 kB / 455.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.3694, allocations: 122.5 kB / 456 MB, free: 11.34 MB / 366.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3694, allocations: 0 / 456 MB, free: 11.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04093/0.4103, allocations: 9.48 MB / 465.5 MB, free: 7.148 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.59, allocations: 9.688 kB / 465.5 MB, free: 7.148 MB / 366.1 MB " [Timeout remaining time 647] (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 --stepSize=0.000989903 --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: 14.971578958909959] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 12.683774500153959 12.701420276 12.373081869 Calling exit ...