Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.001317/0.001317, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001423/0.001423, allocations: 210.6 kB / 23.73 MB, free: 4.387 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.407/1.407, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.HeatingRectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 47.92 kB / 377.7 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2723, allocations: 53.37 MB / 431.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004297/0.2766, allocations: 2.404 MB / 433.5 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.278, allocations: 0.6622 MB / 434.2 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.2782, allocations: 7.938 kB / 434.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.2783, allocations: 35.64 kB / 434.2 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.2785, allocations: 75.34 kB / 434.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.2789, allocations: 99.75 kB / 434.4 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003669/0.2792, allocations: 278.8 kB / 434.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.2794, allocations: 55 kB / 434.7 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002412/0.2796, allocations: 115.6 kB / 434.8 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.2798, allocations: 111.4 kB / 434.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.473e-05/0.2799, allocations: 24 kB / 434.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.28, allocations: 39.98 kB / 435 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.705e-05/0.28, allocations: 43.84 kB / 435 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.2801, allocations: 107.5 kB / 435.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003643/0.2805, allocations: 290.8 kB / 435.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2805, allocations: 0 / 435.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.2805, allocations: 4 kB / 435.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.2805, allocations: 0 / 435.4 MB, free: 2.328 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.0008004/0.2813, allocations: 473.5 kB / 435.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.2814, allocations: 20.02 kB / 435.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.9e-05/0.2814, allocations: 50.73 kB / 435.9 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.2816, allocations: 36.75 kB / 436 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.2819, allocations: 194.1 kB / 436.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.2819, allocations: 20.8 kB / 436.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/0.282, allocations: 20.38 kB / 436.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.2824, allocations: 242.8 kB / 436.4 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.2824, allocations: 3.953 kB / 436.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.2824, allocations: 15.98 kB / 436.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.2824, allocations: 4 kB / 436.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.2827, allocations: 145.7 kB / 436.6 MB, free: 1.047 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.001249/0.284, allocations: 0.6636 MB / 437.3 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.2843, allocations: 146.6 kB / 437.4 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.2845, allocations: 84.83 kB / 437.5 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.2845, allocations: 0 / 437.5 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.2845, allocations: 34.56 kB / 437.5 MB, free: 44 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.192e-06/0.2845, allocations: 0 / 437.5 MB, free: 44 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.00174/0.2863, allocations: 338.3 kB / 437.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.2863, allocations: 67.28 kB / 437.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.2866, allocations: 180.4 kB / 438.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.2866, allocations: 25.7 kB / 438.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.2868, allocations: 156.4 kB / 438.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.969e-05/0.2869, allocations: 67.42 kB / 438.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-05/0.287, allocations: 37.7 kB / 438.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.2872, allocations: 326.8 kB / 438.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.2873, allocations: 51.97 kB / 438.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.2875, allocations: 71.75 kB / 438.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.2879, allocations: 124.1 kB / 439 MB, free: 14.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2879, allocations: 3.938 kB / 439 MB, free: 14.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006389/0.2885, allocations: 225.4 kB / 439.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.2885, allocations: 4 kB / 439.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.2886, allocations: 3.938 kB / 439.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001833/0.2904, allocations: 220.6 kB / 439.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.2906, allocations: 31.97 kB / 439.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000724/0.2913, allocations: 0.607 MB / 440 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.2915, allocations: 23.86 kB / 440.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.2915, allocations: 4 kB / 440.1 MB, free: 13.41 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.0002055/0.2917, allocations: 133.8 kB / 440.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.258e-05/0.2918, allocations: 19.91 kB / 440.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000682/0.2925, allocations: 228.2 kB / 440.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.2925, allocations: 3.984 kB / 440.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2925, allocations: 0 / 440.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2925, allocations: 0 / 440.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.2938, allocations: 0.5482 MB / 441 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.2938, allocations: 3.938 kB / 441 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.2941, allocations: 27.97 kB / 441 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001497/0.2956, allocations: 208.6 kB / 441.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.2956, allocations: 4 kB / 441.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007104/0.2963, allocations: 0.6225 MB / 441.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.2963, allocations: 0 / 441.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.2974, allocations: 428.9 kB / 442.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.2975, allocations: 23.83 kB / 442.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.2975, allocations: 7.984 kB / 442.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.2977, allocations: 8 kB / 442.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.231e-05/0.2978, allocations: 15.97 kB / 442.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.2978, allocations: 4 kB / 442.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001738/0.298, allocations: 128.1 kB / 442.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.298, allocations: 0 / 442.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005751/0.2986, allocations: 55.89 kB / 442.5 MB, free: 10.85 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.0016/0.3002, allocations: 0.9651 MB / 443.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005578/0.3008, allocations: 147.7 kB / 443.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.3008, allocations: 4 kB / 443.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002723/0.301, allocations: 84.02 kB / 443.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.3015, allocations: 24 kB / 443.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004603/0.3061, allocations: 2.343 MB / 446.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.3063, allocations: 133.9 kB / 446.2 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.443e-05/0.3064, allocations: 9.484 kB / 446.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.3066, allocations: 63.41 kB / 446.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3066, allocations: 4 kB / 446.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03665/0.3432, allocations: 5.085 MB / 451.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.73, allocations: 6.75 kB / 451.4 MB, free: 2.016 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.19097829097882] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 12.85354513907805 12.880861886 12.5953114 Calling exit ...