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.001783/0.001783, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.001893/0.001893, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.489/1.489, allocations: 230.5 MB / 254.8 MB, free: 15.24 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.002829/0.002829, allocations: 71.83 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.136, allocations: 53.33 MB / 427 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004374/0.1404, allocations: 2.553 MB / 429.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.1418, allocations: 0.705 MB / 430.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/0.1419, allocations: 4 kB / 430.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.1421, allocations: 31.64 kB / 430.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.1422, allocations: 79.27 kB / 430.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.1425, allocations: 87.84 kB / 430.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004035/0.1429, allocations: 286.7 kB / 430.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.1431, allocations: 60.31 kB / 430.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.1433, allocations: 123.6 kB / 430.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.1435, allocations: 119.5 kB / 431.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.984e-05/0.1436, allocations: 20 kB / 431.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.1437, allocations: 39.98 kB / 431.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.237e-05/0.1438, allocations: 51.83 kB / 431.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.1439, allocations: 127.3 kB / 431.3 MB, free: 492 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003686/0.1443, allocations: 290.8 kB / 431.6 MB, free: 200 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.1443, allocations: 4 kB / 431.6 MB, free: 196 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1443, allocations: 0 / 431.6 MB, free: 196 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.1443, allocations: 0 / 431.6 MB, free: 196 kB / 350.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.0009381/0.1452, allocations: 0.5338 MB / 432.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.1453, allocations: 8.031 kB / 432.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.944e-05/0.1454, allocations: 54.73 kB / 432.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.1455, allocations: 40.73 kB / 432.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.1459, allocations: 252 kB / 432.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.1459, allocations: 12.81 kB / 432.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.146, allocations: 24.38 kB / 432.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004181/0.1464, allocations: 195.3 kB / 432.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1464, allocations: 0 / 432.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.1464, allocations: 12 kB / 432.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.1465, allocations: 7.984 kB / 432.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003234/0.1468, allocations: 149.7 kB / 432.8 MB, free: 14.82 MB / 366.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.001551/0.1483, allocations: 0.926 MB / 433.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.1487, allocations: 154.5 kB / 433.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.1489, allocations: 80.83 kB / 434 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.149, allocations: 0 / 434 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.149, allocations: 42.55 kB / 434 MB, free: 13.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.149, allocations: 3.938 kB / 434 MB, free: 13.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001354/0.1504, allocations: 413.6 kB / 434.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.1504, allocations: 55.41 kB / 434.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.1506, allocations: 179.5 kB / 434.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.1506, allocations: 29.7 kB / 434.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1507, allocations: 148.3 kB / 434.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.97e-05/0.1508, allocations: 67.42 kB / 434.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.1509, allocations: 37.7 kB / 435 MB, free: 12.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1511, allocations: 338.8 kB / 435.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.1512, allocations: 43.98 kB / 435.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.1513, allocations: 80.19 kB / 435.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.1516, allocations: 123.6 kB / 435.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1516, allocations: 0 / 435.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004791/0.1521, allocations: 218.3 kB / 435.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.1521, allocations: 8 kB / 435.8 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1521, allocations: 3.938 kB / 435.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/0.1535, allocations: 216.6 kB / 436 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.1536, allocations: 39.92 kB / 436 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005979/0.1542, allocations: 0.6031 MB / 436.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.1544, allocations: 11.92 kB / 436.6 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.1544, allocations: 11.98 kB / 436.6 MB, free: 10.78 MB / 366.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.0001334/0.1545, allocations: 137.7 kB / 436.8 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.1546, allocations: 19.97 kB / 436.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005204/0.1551, allocations: 221.7 kB / 437 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1551, allocations: 0 / 437 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1551, allocations: 3.984 kB / 437 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1551, allocations: 4 kB / 437 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.1561, allocations: 0.5974 MB / 437.6 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1561, allocations: 3.938 kB / 437.6 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.1563, allocations: 23.98 kB / 437.6 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/0.1573, allocations: 204.7 kB / 437.8 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.1573, allocations: 0 / 437.8 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006434/0.158, allocations: 0.6226 MB / 438.5 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.158, allocations: 7.875 kB / 438.5 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000893/0.1589, allocations: 434.4 kB / 438.9 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.246e-05/0.159, allocations: 96.91 kB / 439 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.159, allocations: 4 kB / 439 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.1591, allocations: 15.98 kB / 439 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.1592, allocations: 7.984 kB / 439 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.1592, allocations: 4.094 kB / 439 MB, free: 8.242 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.1593, allocations: 132 kB / 439.1 MB, free: 8.113 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1593, allocations: 0 / 439.1 MB, free: 8.113 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003673/0.1597, allocations: 63.95 kB / 439.2 MB, free: 8.051 MB / 366.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.001297/0.161, allocations: 0.9624 MB / 440.2 MB, free: 7.055 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004251/0.1614, allocations: 150.8 kB / 440.3 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1614, allocations: 0 / 440.3 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.1616, allocations: 75.89 kB / 440.4 MB, free: 6.836 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.162, allocations: 28.19 kB / 440.4 MB, free: 6.809 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/0.1653, allocations: 2.324 MB / 442.7 MB, free: 4.391 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.1657, allocations: 0.7358 MB / 443.5 MB, free: 3.629 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.356e-05/0.1658, allocations: 17.53 kB / 443.5 MB, free: 3.609 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.451e-05/0.1659, allocations: 67.41 kB / 443.6 MB, free: 3.543 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1659, allocations: 0 / 443.6 MB, free: 3.543 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2371/0.403, allocations: 4.823 MB / 448.4 MB, free: 24.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.08, allocations: 8.484 kB / 448.4 MB, free: 24.69 MB / 366.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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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-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.622707838192582] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 12.166515182703733 12.17744988 12.030676315 Calling exit ...