Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 103.5 kB / 20.43 MB, free: 1.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 180.1 kB / 23.7 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 51.92 kB / 370.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2529, allocations: 52.17 MB / 422.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003655/0.2565, allocations: 2.391 MB / 425 MB, free: 12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.2576, allocations: 0.6194 MB / 425.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.2577, allocations: 4 kB / 425.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.2579, allocations: 35.64 kB / 425.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.258, allocations: 79.28 kB / 425.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.2583, allocations: 79.83 kB / 425.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.2586, allocations: 278.8 kB / 426 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.2588, allocations: 66.17 kB / 426.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.2589, allocations: 115.5 kB / 426.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.2591, allocations: 99.53 kB / 426.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.2591, allocations: 20 kB / 426.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.406e-05/0.2592, allocations: 43.98 kB / 426.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.592e-05/0.2593, allocations: 43.84 kB / 426.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.2594, allocations: 107.5 kB / 426.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003344/0.2597, allocations: 290.8 kB / 426.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2597, allocations: 0 / 426.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2597, allocations: 0 / 426.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.2597, allocations: 0 / 426.8 MB, free: 10.13 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.0008178/0.2605, allocations: 473.5 kB / 427.3 MB, free: 9.637 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.2606, allocations: 16.02 kB / 427.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.004e-05/0.2606, allocations: 54.67 kB / 427.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.712e-05/0.2607, allocations: 28.8 kB / 427.4 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.261, allocations: 182.2 kB / 427.6 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.261, allocations: 16.81 kB / 427.6 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.338e-05/0.2611, allocations: 16.38 kB / 427.6 MB, free: 9.297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000388/0.2614, allocations: 246.8 kB / 427.8 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.2615, allocations: 0 / 427.8 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.2615, allocations: 15.98 kB / 427.8 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.2615, allocations: 4 kB / 427.8 MB, free: 9.016 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.2618, allocations: 149.7 kB / 428 MB, free: 8.867 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.001248/0.2631, allocations: 0.6713 MB / 428.7 MB, free: 8.137 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.2634, allocations: 142.6 kB / 428.8 MB, free: 7.988 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.2636, allocations: 80.83 kB / 428.9 MB, free: 7.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.2636, allocations: 8 kB / 428.9 MB, free: 7.898 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.2636, allocations: 34.5 kB / 428.9 MB, free: 7.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.273e-06/0.2636, allocations: 0 / 428.9 MB, free: 7.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001194/0.2648, allocations: 349.6 kB / 429.3 MB, free: 7.508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.2649, allocations: 55.41 kB / 429.3 MB, free: 7.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.265, allocations: 174.8 kB / 429.5 MB, free: 7.258 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.2651, allocations: 29.7 kB / 429.5 MB, free: 7.223 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.2652, allocations: 144.5 kB / 429.7 MB, free: 7.078 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.323e-05/0.2652, allocations: 71.36 kB / 429.7 MB, free: 7.008 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.381e-05/0.2653, allocations: 37.7 kB / 429.8 MB, free: 6.965 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.2654, allocations: 330.8 kB / 430.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.2655, allocations: 43.98 kB / 430.1 MB, free: 6.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.2657, allocations: 75.55 kB / 430.2 MB, free: 6.512 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.2659, allocations: 132.2 kB / 430.3 MB, free: 6.379 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2659, allocations: 0 / 430.3 MB, free: 6.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004036/0.2663, allocations: 218.3 kB / 430.5 MB, free: 6.156 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.2663, allocations: 4 kB / 430.6 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2663, allocations: 3.938 kB / 430.6 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.2676, allocations: 228.6 kB / 430.8 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.2677, allocations: 27.98 kB / 430.8 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005354/0.2683, allocations: 0.607 MB / 431.4 MB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.2684, allocations: 19.91 kB / 431.4 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.2684, allocations: 8 kB / 431.4 MB, free: 5.234 MB / 334.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.0001237/0.2685, allocations: 129.8 kB / 431.6 MB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.2685, allocations: 15.97 kB / 431.6 MB, free: 5.082 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004524/0.269, allocations: 232.2 kB / 431.8 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-06/0.269, allocations: 4 kB / 431.8 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.269, allocations: 0 / 431.8 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.269, allocations: 0 / 431.8 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008752/0.2699, allocations: 0.5419 MB / 432.4 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.2699, allocations: 7.938 kB / 432.4 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.27, allocations: 31.95 kB / 432.4 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000983/0.271, allocations: 200.6 kB / 432.6 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.271, allocations: 8 kB / 432.6 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004735/0.2715, allocations: 0.6226 MB / 433.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2715, allocations: 0 / 433.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007922/0.2723, allocations: 428.2 kB / 433.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.184e-05/0.2723, allocations: 15.89 kB / 433.7 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.2724, allocations: 8 kB / 433.7 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.2725, allocations: 7.984 kB / 433.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.2726, allocations: 15.92 kB / 433.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.2726, allocations: 7.938 kB / 433.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.2727, allocations: 140.8 kB / 433.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2727, allocations: 0 / 433.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003113/0.273, allocations: 59.83 kB / 433.9 MB, free: 2.664 MB / 334.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.001151/0.2741, allocations: 0.9561 MB / 434.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003974/0.2745, allocations: 143.8 kB / 435 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2745, allocations: 4.125 kB / 435 MB, free: 1.527 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.2747, allocations: 79.8 kB / 435.1 MB, free: 1.449 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.2751, allocations: 27.98 kB / 435.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.278, allocations: 2.324 MB / 437.4 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.2781, allocations: 133.8 kB / 437.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.013e-05/0.2782, allocations: 5.5 kB / 437.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.846e-05/0.2783, allocations: 67.41 kB / 437.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2783, allocations: 0 / 437.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03286/0.3111, allocations: 5.067 MB / 442.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/12.72, allocations: 11.92 kB / 442.7 MB, free: 9.875 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.111196650192142] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 12.839490346144885 12.865624062 12.601101508 Calling exit ...