Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0017/0.0017, allocations: 109.1 kB / 21.21 MB, free: 0.6445 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.002012/0.002012, allocations: 213.4 kB / 24.52 MB, free: 3.938 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.434/1.434, allocations: 230.5 MB / 258.2 MB, free: 7.781 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.HeatingRectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 63.89 kB / 378.5 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2744, allocations: 53.4 MB / 431.9 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003994/0.2784, allocations: 2.399 MB / 434.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.2796, allocations: 0.666 MB / 435 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.2798, allocations: 4 kB / 435 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.2799, allocations: 39.64 kB / 435 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.28, allocations: 63.36 kB / 435.1 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.2804, allocations: 107.8 kB / 435.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003412/0.2807, allocations: 274.8 kB / 435.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.2809, allocations: 64.55 kB / 435.5 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.2811, allocations: 119.5 kB / 435.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.2813, allocations: 111.5 kB / 435.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.2813, allocations: 27.94 kB / 435.8 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.2814, allocations: 39.98 kB / 435.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.55e-05/0.2815, allocations: 47.83 kB / 435.9 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.2816, allocations: 103.6 kB / 436 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.282, allocations: 286.8 kB / 436.2 MB, free: 2.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.282, allocations: 8 kB / 436.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.282, allocations: 3.938 kB / 436.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.282, allocations: 0 / 436.2 MB, free: 2.082 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.0008262/0.2829, allocations: 477.5 kB / 436.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.2829, allocations: 12.03 kB / 436.7 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.775e-05/0.2829, allocations: 4.625 kB / 436.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.148e-05/0.283, allocations: 58.73 kB / 436.8 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.2831, allocations: 40.73 kB / 436.8 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.2835, allocations: 182.8 kB / 437 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.2835, allocations: 12.81 kB / 437 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.2835, allocations: 20.38 kB / 437 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/0.284, allocations: 250.5 kB / 437.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.2841, allocations: 3.953 kB / 437.3 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.2841, allocations: 8 kB / 437.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.2841, allocations: 12 kB / 437.3 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.2844, allocations: 153.6 kB / 437.5 MB, free: 0.793 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.00133/0.2857, allocations: 0.6636 MB / 438.1 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/0.2861, allocations: 146.5 kB / 438.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.2863, allocations: 88.77 kB / 438.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.2863, allocations: 7.984 kB / 438.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.2864, allocations: 34.56 kB / 438.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.2864, allocations: 4 kB / 438.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001264/0.2876, allocations: 340.8 kB / 438.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.2877, allocations: 51.41 kB / 438.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.2879, allocations: 184.7 kB / 439 MB, free: 15.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.2879, allocations: 33.7 kB / 439 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.288, allocations: 144.4 kB / 439.1 MB, free: 15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.765e-05/0.2881, allocations: 63.44 kB / 439.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.042e-05/0.2881, allocations: 37.7 kB / 439.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2883, allocations: 330.8 kB / 439.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.2884, allocations: 51.97 kB / 439.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.2886, allocations: 73.25 kB / 439.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.2888, allocations: 136.4 kB / 439.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2888, allocations: 0 / 439.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004107/0.2892, allocations: 210.3 kB / 440 MB, free: 14.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.2892, allocations: 11.94 kB / 440 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2893, allocations: 0 / 440 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/0.2907, allocations: 220.6 kB / 440.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.2908, allocations: 31.98 kB / 440.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005765/0.2914, allocations: 0.6109 MB / 440.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.2915, allocations: 19.86 kB / 440.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.2915, allocations: 8 kB / 440.9 MB, free: 13.16 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.0001501/0.2917, allocations: 133.8 kB / 441 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.2917, allocations: 15.91 kB / 441.1 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004956/0.2922, allocations: 231 kB / 441.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.2922, allocations: 4 kB / 441.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2922, allocations: 0 / 441.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.2922, allocations: 7.922 kB / 441.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.2932, allocations: 0.5418 MB / 441.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2932, allocations: 3.938 kB / 441.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.2934, allocations: 27.98 kB / 441.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001111/0.2945, allocations: 204.7 kB / 442.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.2945, allocations: 0 / 442.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005168/0.295, allocations: 0.6226 MB / 442.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.295, allocations: 0 / 442.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009599/0.296, allocations: 428.8 kB / 443.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.296, allocations: 23.81 kB / 443.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.2961, allocations: 8 kB / 443.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.2962, allocations: 12 kB / 443.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.2963, allocations: 11.97 kB / 443.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.2963, allocations: 4 kB / 443.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.2964, allocations: 128.1 kB / 443.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2964, allocations: 4 kB / 443.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000325/0.2968, allocations: 59.88 kB / 443.4 MB, free: 10.59 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.001309/0.2981, allocations: 0.9543 MB / 444.3 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005524/0.2986, allocations: 147.7 kB / 444.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2986, allocations: 0 / 444.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.2988, allocations: 82.42 kB / 444.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.2992, allocations: 28.08 kB / 444.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.3025, allocations: 2.351 MB / 446.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.3026, allocations: 133.8 kB / 447 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.278e-05/0.3027, allocations: 9.5 kB / 447.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.325e-05/0.3028, allocations: 59.41 kB / 447.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3028, allocations: 0 / 447.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03297/0.3358, allocations: 4.8 MB / 451.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/12.97, allocations: 11.98 kB / 451.9 MB, free: 2.023 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.430661138962023] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 13.145504483021796 13.162475371 12.877035811 Calling exit ...