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.0008585/0.0008585, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008728/0.0008728, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.8734/0.8734, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.593e-06/1.593e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.602e-05, allocations: 6.984 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002591/0.002607, allocations: 2.413 MB / 326.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007759/0.003383, allocations: 0.6621 MB / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.333e-05/0.003476, allocations: 4 kB / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.003588, allocations: 39.64 kB / 327.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.983e-05/0.003668, allocations: 79.27 kB / 327.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.003936, allocations: 103.6 kB / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.004137, allocations: 294.4 kB / 328.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.004271, allocations: 56.55 kB / 328.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.004445, allocations: 163.6 kB / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.994e-05/0.004545, allocations: 87.77 kB / 328.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.004571, allocations: 24 kB / 328.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.586e-05/0.004637, allocations: 47.91 kB / 328.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.742e-05/0.004664, allocations: 47.83 kB / 328.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.39e-05/0.004718, allocations: 79.83 kB / 328.6 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.00496, allocations: 303 kB / 328.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.004962, allocations: 4 kB / 328.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004963, allocations: 0 / 328.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.004967, allocations: 0 / 328.9 MB, free: 11.46 MB / 298.7 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.0005321/0.005499, allocations: 473.6 kB / 329.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.005534, allocations: 11.98 kB / 329.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.005574, allocations: 54.73 kB / 329.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.416e-05/0.005668, allocations: 40.73 kB / 329.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.005876, allocations: 181.3 kB / 329.7 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.00589, allocations: 16.88 kB / 329.7 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.005917, allocations: 24.38 kB / 329.7 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.006156, allocations: 240.1 kB / 329.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.006167, allocations: 4.141 kB / 329.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.006183, allocations: 12.12 kB / 329.9 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.006188, allocations: 4 kB / 329.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.006383, allocations: 149.9 kB / 330.1 MB, free: 10.2 MB / 298.7 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.000998/0.007381, allocations: 0.6643 MB / 330.8 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.007578, allocations: 142.5 kB / 330.9 MB, free: 9.324 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.007707, allocations: 96.75 kB / 331 MB, free: 9.227 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.007724, allocations: 3.984 kB / 331 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.00775, allocations: 38.81 kB / 331 MB, free: 9.176 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 2.104e-06/0.007752, allocations: 4 kB / 331 MB, free: 9.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006437/0.008395, allocations: 341 kB / 331.4 MB, free: 8.832 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.008422, allocations: 51.41 kB / 331.4 MB, free: 8.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.008526, allocations: 188.6 kB / 331.6 MB, free: 8.574 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.00854, allocations: 25.7 kB / 331.6 MB, free: 8.543 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.008603, allocations: 156.3 kB / 331.8 MB, free: 8.387 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.008631, allocations: 59.44 kB / 331.8 MB, free: 8.328 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.008671, allocations: 33.7 kB / 331.9 MB, free: 8.289 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.326e-05/0.008744, allocations: 330.8 kB / 332.2 MB, free: 7.957 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.581e-05/0.00881, allocations: 51.97 kB / 332.2 MB, free: 7.906 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.491e-05/0.008885, allocations: 73.62 kB / 332.3 MB, free: 7.828 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.009025, allocations: 129.6 kB / 332.4 MB, free: 7.695 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.009027, allocations: 0 / 332.4 MB, free: 7.695 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002258/0.009253, allocations: 217.4 kB / 332.7 MB, free: 7.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.009265, allocations: 8 kB / 332.7 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.009268, allocations: 4.031 kB / 332.7 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/0.009871, allocations: 224.5 kB / 332.9 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.853e-05/0.00994, allocations: 27.98 kB / 332.9 MB, free: 7.215 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002966/0.01024, allocations: 0.6109 MB / 333.5 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.762e-05/0.01028, allocations: 15.98 kB / 333.5 MB, free: 6.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.01029, allocations: 8.062 kB / 333.6 MB, free: 6.555 MB / 298.7 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 7.971e-05/0.01037, allocations: 137.7 kB / 333.7 MB, free: 6.406 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.01039, allocations: 19.84 kB / 333.7 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.01066, allocations: 224.2 kB / 333.9 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01066, allocations: 4 kB / 333.9 MB, free: 6.156 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.01066, allocations: 0 / 333.9 MB, free: 6.156 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01067, allocations: 3.984 kB / 333.9 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.01115, allocations: 0.5342 MB / 334.5 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01115, allocations: 0 / 334.5 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.466e-05/0.01122, allocations: 27.98 kB / 334.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004687/0.01169, allocations: 204.6 kB / 334.7 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.01171, allocations: 7.938 kB / 334.7 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002794/0.01198, allocations: 0.6303 MB / 335.3 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01199, allocations: 0 / 335.3 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00041/0.0124, allocations: 420.9 kB / 335.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/0.01242, allocations: 19.83 kB / 335.8 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.01243, allocations: 11.94 kB / 335.8 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.254e-05/0.0125, allocations: 4 kB / 335.8 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.01252, allocations: 15.97 kB / 335.8 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.01253, allocations: 8.062 kB / 335.8 MB, free: 4.176 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.446e-05/0.0126, allocations: 136.1 kB / 335.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0126, allocations: 0 / 335.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001822/0.01278, allocations: 59.89 kB / 336 MB, free: 3.984 MB / 298.7 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.0006082/0.01339, allocations: 0.962 MB / 337 MB, free: 2.996 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002278/0.01361, allocations: 143.8 kB / 337.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01362, allocations: 0 / 337.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.218e-05/0.01371, allocations: 75.95 kB / 337.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.01392, allocations: 37.86 kB / 337.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.01588, allocations: 2.263 MB / 339.5 MB, free: 388 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.303e-05/0.01596, allocations: 129.9 kB / 339.6 MB, free: 240 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.796e-05/0.01599, allocations: 13.48 kB / 339.6 MB, free: 224 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.711e-05/0.01605, allocations: 68.41 kB / 339.7 MB, free: 156 kB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01605, allocations: 0 / 339.7 MB, free: 156 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/0.0328, allocations: 5.248 MB / 344.9 MB, free: 11.04 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.575/7.608, allocations: 11.88 kB / 344.9 MB, free: 11.03 MB / 314.7 MB " [Timeout remaining time 652] (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: 9.321057914756238] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 7.698896799236536 7.707662899 7.700983803 Calling exit ...