Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 212.6 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.419/1.419, allocations: 230.6 MB / 258.3 MB, free: 7.789 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 47.92 kB / 378.5 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2827, allocations: 53.36 MB / 431.9 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004517/0.2872, allocations: 2.932 MB / 434.8 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.2888, allocations: 0.8195 MB / 435.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.2889, allocations: 4 kB / 435.6 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.2891, allocations: 63.31 kB / 435.7 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.2893, allocations: 110.9 kB / 435.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.2896, allocations: 171.7 kB / 436 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005144/0.2901, allocations: 0.5462 MB / 436.5 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.2904, allocations: 124.8 kB / 436.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003333/0.2907, allocations: 231.3 kB / 436.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003125/0.291, allocations: 251 kB / 437.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.142e-05/0.2911, allocations: 51.94 kB / 437.1 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.2912, allocations: 63.98 kB / 437.2 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.2913, allocations: 115.6 kB / 437.3 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002096/0.2915, allocations: 203.1 kB / 437.5 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006197/0.2922, allocations: 0.5603 MB / 438.1 MB, free: 436 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2922, allocations: 7.984 kB / 438.1 MB, free: 428 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2922, allocations: 0 / 438.1 MB, free: 428 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.2922, allocations: 3.938 kB / 438.1 MB, free: 424 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.001618/0.2938, allocations: 0.7274 MB / 438.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.2938, allocations: 8.031 kB / 438.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.111e-05/0.2939, allocations: 9.188 kB / 438.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.919e-05/0.294, allocations: 82.72 kB / 438.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/0.2942, allocations: 60.59 kB / 439 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004956/0.2947, allocations: 265.2 kB / 439.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.2947, allocations: 29.38 kB / 439.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.396e-05/0.2948, allocations: 40.36 kB / 439.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.296, allocations: 0.6512 MB / 440 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.296, allocations: 0 / 440 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.452e-05/0.296, allocations: 16 kB / 440 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.296, allocations: 8 kB / 440 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.2974, allocations: 0.5035 MB / 440.5 MB, free: 13.9 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.002548/0.2999, allocations: 1.243 MB / 441.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.301, allocations: 395.7 kB / 442.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005173/0.3015, allocations: 221.4 kB / 442.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.086e-05/0.3016, allocations: 12.31 kB / 442.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.3016, allocations: 34.89 kB / 442.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.843e-06/0.3016, allocations: 0 / 442.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004861/0.3065, allocations: 1.218 MB / 443.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.3066, allocations: 158.2 kB / 443.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.3069, allocations: 276.2 kB / 444 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.307, allocations: 29.7 kB / 444 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.3071, allocations: 216.7 kB / 444.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.3072, allocations: 138.8 kB / 444.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.3074, allocations: 82.12 kB / 444.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3076, allocations: 346.8 kB / 444.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005012/0.3081, allocations: 180.7 kB / 445 MB, free: 9.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006331/0.3087, allocations: 389.3 kB / 445.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009654/0.3097, allocations: 422.6 kB / 445.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3097, allocations: 0 / 445.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001826/0.3115, allocations: 0.6898 MB / 446.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.3115, allocations: 6.812 kB / 446.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3115, allocations: 4 kB / 446.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/0.3129, allocations: 317.4 kB / 446.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.3132, allocations: 79.88 kB / 446.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.3146, allocations: 1.339 MB / 448.2 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/0.315, allocations: 83.73 kB / 448.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.3151, allocations: 15.98 kB / 448.3 MB, free: 5.746 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.0002131/0.3153, allocations: 157.8 kB / 448.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.3154, allocations: 35.77 kB / 448.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.3175, allocations: 0.7203 MB / 449.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.3175, allocations: 4 kB / 449.2 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3175, allocations: 3.938 kB / 449.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.3175, allocations: 3.984 kB / 449.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005911/0.3181, allocations: 384.3 kB / 449.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3181, allocations: 0 / 449.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.3184, allocations: 59.88 kB / 449.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001181/0.3196, allocations: 325.4 kB / 450 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.3196, allocations: 8 kB / 450 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.321, allocations: 1.358 MB / 451.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.321, allocations: 0 / 451.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00255/0.3235, allocations: 1.016 MB / 452.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-05/0.3236, allocations: 39.67 kB / 452.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.514e-05/0.3237, allocations: 15.98 kB / 452.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/0.324, allocations: 39.95 kB / 452.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-05/0.3241, allocations: 23.73 kB / 452.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.3241, allocations: 19.98 kB / 452.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000265/0.3244, allocations: 195.1 kB / 452.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3244, allocations: 4 kB / 452.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004411/0.3248, allocations: 107.8 kB / 452.8 MB, free: 1.105 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.002946/0.3278, allocations: 1.564 MB / 454.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.3291, allocations: 463.3 kB / 454.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.3291, allocations: 448 / 454.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006088/0.3297, allocations: 239.8 kB / 455 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.3301, allocations: 46.7 kB / 455.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007262/0.3374, allocations: 4.087 MB / 459.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.3376, allocations: 195 kB / 459.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.3377, allocations: 30.97 kB / 459.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.3379, allocations: 127.4 kB / 459.5 MB, free: 10.19 MB / 366.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3379, allocations: 0 / 459.5 MB, free: 10.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03484/0.3727, allocations: 9.017 MB / 468.5 MB, free: 1.391 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.47, allocations: 10.34 kB / 468.6 MB, free: 1.383 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter_fmu --startTime=0 --stopTime=5 --stepSize=0.000989903 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.85976251307875] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 13.645787101937458 13.661749177999999 13.366543026 Calling exit ...