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.001299/0.001299, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001479/0.001479, allocations: 213.7 kB / 23.73 MB, free: 4.406 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.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 7.766 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0029/0.0029, allocations: 63.89 kB / 377.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2884, allocations: 53.41 MB / 431.1 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004212/0.2927, allocations: 2.404 MB / 433.5 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.2941, allocations: 0.6661 MB / 434.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.2943, allocations: 7.938 kB / 434.2 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.2944, allocations: 35.64 kB / 434.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.2945, allocations: 67.36 kB / 434.3 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.2948, allocations: 103.8 kB / 434.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.2951, allocations: 274.8 kB / 434.7 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.2953, allocations: 58.25 kB / 434.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.2955, allocations: 119.5 kB / 434.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.2956, allocations: 103.5 kB / 435 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.2957, allocations: 20 kB / 435 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.9e-05/0.2958, allocations: 39.98 kB / 435 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.357e-05/0.2958, allocations: 55.83 kB / 435.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.982e-05/0.2959, allocations: 103.5 kB / 435.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003277/0.2962, allocations: 294.9 kB / 435.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2962, allocations: 3.938 kB / 435.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.2962, allocations: 0 / 435.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.2962, allocations: 0 / 435.5 MB, free: 2.113 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.0007445/0.297, allocations: 481.5 kB / 435.9 MB, free: 1.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.297, allocations: 11.98 kB / 436 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.259e-05/0.2971, allocations: 62.67 kB / 436 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.2972, allocations: 40.73 kB / 436.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.2976, allocations: 174.9 kB / 436.2 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.2976, allocations: 20.81 kB / 436.2 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.2976, allocations: 16.38 kB / 436.3 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/0.298, allocations: 246.8 kB / 436.5 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.298, allocations: 3.953 kB / 436.5 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.2981, allocations: 8 kB / 436.5 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.2981, allocations: 8 kB / 436.5 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003176/0.2984, allocations: 149.7 kB / 436.7 MB, free: 0.8359 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.001271/0.2997, allocations: 0.6636 MB / 437.3 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/0.3, allocations: 146.6 kB / 437.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.3002, allocations: 84.83 kB / 437.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.3002, allocations: 4 kB / 437.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.3002, allocations: 38.5 kB / 437.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.3002, allocations: 0 / 437.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001218/0.3015, allocations: 345.3 kB / 437.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.3015, allocations: 51.41 kB / 438 MB, free: 15.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.3017, allocations: 188.1 kB / 438.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.3017, allocations: 25.7 kB / 438.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.3018, allocations: 152.4 kB / 438.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.891e-05/0.3019, allocations: 59.44 kB / 438.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.485e-05/0.3019, allocations: 41.7 kB / 438.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3021, allocations: 330.8 kB / 438.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.3022, allocations: 47.97 kB / 438.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.3023, allocations: 73.25 kB / 438.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.3026, allocations: 132.4 kB / 439 MB, free: 14.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3026, allocations: 0 / 439 MB, free: 14.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000424/0.303, allocations: 222.3 kB / 439.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.303, allocations: 4 kB / 439.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.303, allocations: 7.875 kB / 439.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/0.3043, allocations: 216.6 kB / 439.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.3045, allocations: 39.97 kB / 439.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005442/0.305, allocations: 0.6147 MB / 440.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.3051, allocations: 15.89 kB / 440.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.3051, allocations: 4 kB / 440.1 MB, free: 13.2 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.0001264/0.3053, allocations: 130.4 kB / 440.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/0.3053, allocations: 15.91 kB / 440.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004735/0.3058, allocations: 235 kB / 440.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3058, allocations: 4 kB / 440.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3058, allocations: 0 / 440.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3058, allocations: 0 / 440.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008693/0.3067, allocations: 0.538 MB / 441 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.3067, allocations: 7.938 kB / 441 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.3068, allocations: 31.91 kB / 441.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/0.3078, allocations: 204.7 kB / 441.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.3078, allocations: 4 kB / 441.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004847/0.3083, allocations: 0.6226 MB / 441.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3083, allocations: 0 / 441.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007916/0.3091, allocations: 420.9 kB / 442.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/0.3091, allocations: 27.83 kB / 442.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.3092, allocations: 3.984 kB / 442.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.3093, allocations: 8 kB / 442.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.3094, allocations: 15.91 kB / 442.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.3094, allocations: 8 kB / 442.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.3095, allocations: 133.2 kB / 442.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3095, allocations: 0 / 442.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003003/0.3098, allocations: 55.89 kB / 442.6 MB, free: 10.64 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.001163/0.311, allocations: 0.9522 MB / 443.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003858/0.3113, allocations: 150.2 kB / 443.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3113, allocations: 4.031 kB / 443.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.3115, allocations: 87.95 kB / 443.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.3119, allocations: 27.38 kB / 443.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/0.3149, allocations: 2.347 MB / 446.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.3151, allocations: 129.9 kB / 446.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.551e-05/0.3151, allocations: 13.48 kB / 446.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.51e-05/0.3152, allocations: 59.41 kB / 446.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3152, allocations: 0 / 446.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03397/0.3492, allocations: 5.097 MB / 451.4 MB, free: 1.773 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.67, allocations: 19.47 kB / 451.4 MB, free: 1.758 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 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.171064753085375] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 12.78517104825005 12.799986505 12.500672771 Calling exit ...