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.001677/0.001677, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001974/0.001974, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.43/1.43, allocations: 230.5 MB / 254.7 MB, free: 14.99 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.001927/0.001927, allocations: 75.86 kB / 373.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09402/0.09594, allocations: 53.3 MB / 426.9 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003774/0.09972, allocations: 2.557 MB / 429.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.101, allocations: 0.7011 MB / 430.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.1011, allocations: 7.938 kB / 430.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.1012, allocations: 35.64 kB / 430.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.1014, allocations: 75.28 kB / 430.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.1017, allocations: 95.81 kB / 430.4 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000329/0.102, allocations: 282.7 kB / 430.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.1022, allocations: 64.31 kB / 430.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.1024, allocations: 111.6 kB / 430.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.1026, allocations: 115.5 kB / 430.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.627e-05/0.1026, allocations: 24 kB / 430.9 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.831e-05/0.1027, allocations: 39.98 kB / 431 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.895e-05/0.1028, allocations: 51.77 kB / 431 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.1029, allocations: 123.4 kB / 431.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003797/0.1033, allocations: 290.8 kB / 431.4 MB, free: 268 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1033, allocations: 0 / 431.4 MB, free: 268 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1033, allocations: 0 / 431.4 MB, free: 268 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.1033, allocations: 4 kB / 431.4 MB, free: 264 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.1713/0.2746, allocations: 0.5367 MB / 432 MB, free: 11.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.2746, allocations: 12.73 kB / 432 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.833e-05/0.2747, allocations: 52.88 kB / 432 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000203/0.2749, allocations: 40.58 kB / 432.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.2752, allocations: 240.7 kB / 432.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.2752, allocations: 16.72 kB / 432.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/0.2753, allocations: 22.31 kB / 432.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.2757, allocations: 191.5 kB / 432.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.2757, allocations: 3.938 kB / 432.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.2757, allocations: 7.375 kB / 432.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.2757, allocations: 5.344 kB / 432.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.276, allocations: 152.9 kB / 432.7 MB, free: 10.87 MB / 350.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.001176/0.2772, allocations: 0.9324 MB / 433.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.2775, allocations: 139.9 kB / 433.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.2777, allocations: 89.73 kB / 433.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.2777, allocations: 1.625 kB / 433.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.2777, allocations: 36.62 kB / 433.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.923e-06/0.2777, allocations: 4.906 kB / 433.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001143/0.2789, allocations: 417 kB / 434.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.2789, allocations: 55.5 kB / 434.4 MB, free: 10 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.279, allocations: 179 kB / 434.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.279, allocations: 30.77 kB / 434.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.256e-05/0.2791, allocations: 157 kB / 434.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.2791, allocations: 66.62 kB / 434.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.353e-05/0.2792, allocations: 38.47 kB / 434.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.738e-05/0.2793, allocations: 327.3 kB / 435.1 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.2794, allocations: 54.02 kB / 435.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.2795, allocations: 74.28 kB / 435.3 MB, free: 9.363 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.2797, allocations: 125.2 kB / 435.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.2797, allocations: 1.062 kB / 435.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003584/0.28, allocations: 216.4 kB / 435.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.2801, allocations: 7.906 kB / 435.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2801, allocations: 1.25 kB / 435.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/0.2814, allocations: 215.7 kB / 435.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.2816, allocations: 39.91 kB / 435.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003467/0.2819, allocations: 0.6054 MB / 436.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.282, allocations: 18.09 kB / 436.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.282, allocations: 3.812 kB / 436.5 MB, free: 8.742 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 9.95e-05/0.2821, allocations: 137.6 kB / 436.6 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.2822, allocations: 17.73 kB / 436.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004048/0.2826, allocations: 228.2 kB / 436.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2826, allocations: 5.047 kB / 436.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2826, allocations: 4 kB / 436.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2826, allocations: 0 / 436.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007626/0.2834, allocations: 0.5863 MB / 437.5 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2834, allocations: 0 / 437.5 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.2835, allocations: 33.62 kB / 437.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001078/0.2846, allocations: 206.6 kB / 437.7 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.2846, allocations: 7.156 kB / 437.7 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003367/0.2849, allocations: 0.6212 MB / 438.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2849, allocations: 1.812 kB / 438.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007533/0.2857, allocations: 420.3 kB / 438.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.2857, allocations: 107.7 kB / 438.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.2858, allocations: 1.406 kB / 438.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.2859, allocations: 10.83 kB / 438.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/0.286, allocations: 13.42 kB / 438.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.286, allocations: 10.83 kB / 438.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.741e-05/0.2861, allocations: 130.6 kB / 439 MB, free: 6.992 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2861, allocations: 0 / 439 MB, free: 6.992 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003132/0.2864, allocations: 57.17 kB / 439.1 MB, free: 6.98 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.0009859/0.2874, allocations: 0.9574 MB / 440 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000409/0.2878, allocations: 146.7 kB / 440.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2878, allocations: 0 / 440.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.288, allocations: 78.81 kB / 440.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.2883, allocations: 40.47 kB / 440.3 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.2909, allocations: 2.332 MB / 442.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.2911, allocations: 0.7397 MB / 443.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.439e-05/0.2912, allocations: 11.09 kB / 443.4 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.783e-05/0.2913, allocations: 60.75 kB / 443.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2913, allocations: 0 / 443.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0339/0.3252, allocations: 4.838 MB / 448.3 MB, free: 3.082 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.88, allocations: 2.984 kB / 448.3 MB, free: 3.082 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_HeatingRectifier_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 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.18276616325602] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 11.971666547004133 11.983637025 11.877594232 Calling exit ...