Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.0014/0.0014, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.00162/0.00162, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.HeatingRectifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingRectifier",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.002667/0.002667, allocations: 60.56 kB / 378.5 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2729, allocations: 53.38 MB / 431.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004476/0.2774, allocations: 2.579 MB / 434.5 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.2788, allocations: 0.705 MB / 435.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.2789, allocations: 7.938 kB / 435.2 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.2791, allocations: 35.64 kB / 435.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.2792, allocations: 79.28 kB / 435.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.2796, allocations: 91.77 kB / 435.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003447/0.2799, allocations: 282.8 kB / 435.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.2801, allocations: 57.33 kB / 435.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.2803, allocations: 115.6 kB / 435.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.2805, allocations: 119.5 kB / 436 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.2805, allocations: 20 kB / 436 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.2806, allocations: 47.97 kB / 436 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.12e-05/0.2807, allocations: 51.84 kB / 436.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.2808, allocations: 119.4 kB / 436.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003873/0.2812, allocations: 295.6 kB / 436.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2812, allocations: 0 / 436.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2812, allocations: 4 kB / 436.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.2812, allocations: 0 / 436.5 MB, free: 2.254 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008446/0.2821, allocations: 473.5 kB / 437 MB, free: 1.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2821, allocations: 8.031 kB / 437 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.976e-05/0.2822, allocations: 58.72 kB / 437 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.2823, allocations: 36.75 kB / 437.1 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.2827, allocations: 194.1 kB / 437.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.2828, allocations: 16.81 kB / 437.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/0.2828, allocations: 16.38 kB / 437.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004054/0.2832, allocations: 195.4 kB / 437.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.2832, allocations: 4 kB / 437.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.2832, allocations: 4 kB / 437.5 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2832, allocations: 7.938 kB / 437.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003317/0.2836, allocations: 157.6 kB / 437.7 MB, free: 1.039 MB / 334.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.001447/0.285, allocations: 0.8977 MB / 438.6 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.2854, allocations: 134.6 kB / 438.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.2856, allocations: 92.91 kB / 438.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.2856, allocations: 4 kB / 438.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.2857, allocations: 30.56 kB / 438.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.734e-06/0.2857, allocations: 0 / 438.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001287/0.2869, allocations: 338.3 kB / 439.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.287, allocations: 59.34 kB / 439.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.2872, allocations: 184.4 kB / 439.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.2873, allocations: 25.7 kB / 439.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.2874, allocations: 152.4 kB / 439.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.624e-05/0.2874, allocations: 71.33 kB / 439.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/0.2875, allocations: 37.7 kB / 439.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.2876, allocations: 326.8 kB / 440 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.2878, allocations: 47.98 kB / 440 MB, free: 14.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.2879, allocations: 77.67 kB / 440.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.2881, allocations: 117.7 kB / 440.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2882, allocations: 0 / 440.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004304/0.2886, allocations: 216.5 kB / 440.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.2886, allocations: 4 kB / 440.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.2886, allocations: 15.95 kB / 440.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.29, allocations: 212.5 kB / 440.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.2901, allocations: 27.98 kB / 440.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000623/0.2907, allocations: 0.6148 MB / 441.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.2909, allocations: 19.92 kB / 441.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.2909, allocations: 4 kB / 441.3 MB, free: 13.14 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.2911, allocations: 139.8 kB / 441.5 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/0.2911, allocations: 19.91 kB / 441.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004979/0.2916, allocations: 224.2 kB / 441.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.2916, allocations: 4.062 kB / 441.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2916, allocations: 0 / 441.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2916, allocations: 3.938 kB / 441.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009709/0.2926, allocations: 0.5602 MB / 442.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.2926, allocations: 7.938 kB / 442.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.2928, allocations: 27.92 kB / 442.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001079/0.2938, allocations: 204.6 kB / 442.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.2939, allocations: 8 kB / 442.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005603/0.2944, allocations: 0.6226 MB / 443.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2944, allocations: 0 / 443.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009253/0.2953, allocations: 427.6 kB / 443.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.2954, allocations: 23.83 kB / 443.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.2954, allocations: 4 kB / 443.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.2956, allocations: 16.05 kB / 443.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.2956, allocations: 11.98 kB / 443.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.2956, allocations: 4 kB / 443.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.2957, allocations: 133.2 kB / 443.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2957, allocations: 0 / 443.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003122/0.2961, allocations: 59.89 kB / 443.8 MB, free: 10.55 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001216/0.2973, allocations: 0.952 MB / 444.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004143/0.2977, allocations: 151.7 kB / 444.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2977, allocations: 0 / 444.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.2979, allocations: 75.89 kB / 445 MB, free: 9.344 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.2982, allocations: 34.39 kB / 445 MB, free: 9.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/0.3015, allocations: 2.341 MB / 447.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.3019, allocations: 0.7437 MB / 448.1 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.122e-05/0.302, allocations: 13.48 kB / 448.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.974e-05/0.3021, allocations: 59.41 kB / 448.2 MB, free: 6.035 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3021, allocations: 0 / 448.2 MB, free: 6.035 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03387/0.336, allocations: 4.943 MB / 453.1 MB, free: 1.234 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.26, allocations: 11.3 kB / 453.1 MB, free: 1.227 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingRectifier_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.581781520042568] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 12.359905275981873 12.380429586 12.094747453 Calling exit ...