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.00186/0.00186, allocations: 105 kB / 21.22 MB, free: 0.6758 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.002388/0.002388, allocations: 209.9 kB / 24.53 MB, free: 4.035 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.527/1.527, allocations: 230.6 MB / 258.3 MB, free: 8.07 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.001907/0.001907, allocations: 68.77 kB / 378.6 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2554, allocations: 53.37 MB / 431.9 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.00377/0.2591, allocations: 2.566 MB / 434.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.2605, allocations: 0.7127 MB / 435.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.2606, allocations: 7.938 kB / 435.2 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.2608, allocations: 35.64 kB / 435.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.2609, allocations: 75.34 kB / 435.3 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.2612, allocations: 99.75 kB / 435.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003236/0.2616, allocations: 274.8 kB / 435.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.2617, allocations: 65.3 kB / 435.7 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002177/0.262, allocations: 119.5 kB / 435.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.2622, allocations: 115.5 kB / 436 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.2622, allocations: 20 kB / 436 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.2623, allocations: 43.98 kB / 436 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.672e-05/0.2623, allocations: 47.84 kB / 436.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.2625, allocations: 127.4 kB / 436.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.2628, allocations: 291.6 kB / 436.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.2628, allocations: 4 kB / 436.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2628, allocations: 0 / 436.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.2628, allocations: 0 / 436.5 MB, free: 2.32 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.0008572/0.2637, allocations: 477.5 kB / 437 MB, free: 1.824 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.2637, allocations: 12.03 kB / 437 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.949e-05/0.2638, allocations: 54.67 kB / 437 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.264, allocations: 40.73 kB / 437.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.2643, allocations: 186.1 kB / 437.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.2643, allocations: 16.81 kB / 437.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-05/0.2644, allocations: 20.38 kB / 437.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.2648, allocations: 195.4 kB / 437.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.2648, allocations: 4 kB / 437.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.2648, allocations: 8 kB / 437.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2648, allocations: 4 kB / 437.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003151/0.2651, allocations: 149.6 kB / 437.6 MB, free: 1.109 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.001371/0.2665, allocations: 0.8977 MB / 438.5 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.2668, allocations: 138.6 kB / 438.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.267, allocations: 87.42 kB / 438.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.267, allocations: 8 kB / 438.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.2671, allocations: 38.5 kB / 438.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.173e-06/0.2671, allocations: 0 / 438.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001242/0.2683, allocations: 334.3 kB / 439.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.2684, allocations: 59.39 kB / 439.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.2686, allocations: 180.4 kB / 439.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.2686, allocations: 29.7 kB / 439.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.2687, allocations: 152.4 kB / 439.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.375e-05/0.2687, allocations: 67.42 kB / 439.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-05/0.2688, allocations: 37.7 kB / 439.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.269, allocations: 334.7 kB / 440 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.2691, allocations: 47.97 kB / 440 MB, free: 14.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.2692, allocations: 73.69 kB / 440.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.2695, allocations: 125.6 kB / 440.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2695, allocations: 0 / 440.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003998/0.2699, allocations: 216.7 kB / 440.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.2699, allocations: 4 kB / 440.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2699, allocations: 7.938 kB / 440.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/0.2712, allocations: 216.6 kB / 440.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.2713, allocations: 31.97 kB / 440.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000508/0.2718, allocations: 0.6109 MB / 441.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.2719, allocations: 19.98 kB / 441.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.272, allocations: 8 kB / 441.3 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.0001261/0.2721, allocations: 137.7 kB / 441.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/0.2721, allocations: 15.91 kB / 441.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004555/0.2726, allocations: 228.2 kB / 441.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.2726, allocations: 0 / 441.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2726, allocations: 4 kB / 441.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2726, allocations: 0 / 441.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008499/0.2735, allocations: 0.5566 MB / 442.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.2735, allocations: 7.938 kB / 442.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.2736, allocations: 31.91 kB / 442.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/0.2746, allocations: 208.6 kB / 442.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.2746, allocations: 4 kB / 442.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000475/0.2751, allocations: 0.6264 MB / 443.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2751, allocations: 0 / 443.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007909/0.2759, allocations: 421.3 kB / 443.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/0.2759, allocations: 27.83 kB / 443.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.2759, allocations: 3.984 kB / 443.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.2761, allocations: 12 kB / 443.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.2761, allocations: 19.97 kB / 443.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.2762, allocations: 8 kB / 443.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.2763, allocations: 129.2 kB / 443.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2763, allocations: 3.938 kB / 443.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002889/0.2766, allocations: 55.89 kB / 443.8 MB, free: 10.61 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.001149/0.2777, allocations: 0.956 MB / 444.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003919/0.2781, allocations: 151.7 kB / 444.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2781, allocations: 0 / 444.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.2783, allocations: 79.89 kB / 445 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.2786, allocations: 28.06 kB / 445 MB, free: 9.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/0.2816, allocations: 2.336 MB / 447.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.282, allocations: 0.7398 MB / 448.1 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.131e-05/0.282, allocations: 17.47 kB / 448.1 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.344e-05/0.2821, allocations: 59.41 kB / 448.2 MB, free: 6.098 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2821, allocations: 0 / 448.2 MB, free: 6.098 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03281/0.3149, allocations: 4.953 MB / 453.1 MB, free: 1.289 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.51, allocations: 6.812 kB / 453.1 MB, free: 1.285 MB / 350.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.007960862945765] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 11.601207164116204 11.627483652 11.359963639 Calling exit ...