Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 105.1 kB / 21.22 MB, free: 0.5078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 214.9 kB / 24.51 MB, free: 3.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.414/1.414, allocations: 230.6 MB / 258.3 MB, free: 7.793 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 47.92 kB / 378.5 MB, free: 3.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2633, allocations: 53.37 MB / 431.9 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003902/0.2672, allocations: 2.4 MB / 434.3 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.2684, allocations: 0.666 MB / 434.9 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.2686, allocations: 4 kB / 434.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.2687, allocations: 39.64 kB / 435 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.2688, allocations: 71.33 kB / 435 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.2692, allocations: 103.8 kB / 435.1 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003216/0.2695, allocations: 278.8 kB / 435.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.2697, allocations: 61.3 kB / 435.5 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002107/0.2699, allocations: 119.5 kB / 435.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.2701, allocations: 123.5 kB / 435.7 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.868e-05/0.2701, allocations: 20 kB / 435.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.362e-05/0.2702, allocations: 36 kB / 435.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.2703, allocations: 51.83 kB / 435.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.2704, allocations: 107.5 kB / 435.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.2707, allocations: 295.7 kB / 436.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2707, allocations: 0 / 436.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2707, allocations: 0 / 436.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.2707, allocations: 0 / 436.2 MB, free: 2.289 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.0008201/0.2716, allocations: 473.5 kB / 436.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.2716, allocations: 12.03 kB / 436.7 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.674e-05/0.2716, allocations: 8.625 kB / 436.7 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.6e-05/0.2717, allocations: 58.73 kB / 436.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.2718, allocations: 40.73 kB / 436.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.2722, allocations: 190.1 kB / 437 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.2722, allocations: 12.81 kB / 437 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.479e-05/0.2722, allocations: 24.38 kB / 437 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000416/0.2726, allocations: 238.6 kB / 437.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.2727, allocations: 3.938 kB / 437.3 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.2727, allocations: 12 kB / 437.3 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2727, allocations: 8 kB / 437.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.273, allocations: 149.7 kB / 437.4 MB, free: 1.004 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.001287/0.2743, allocations: 0.6675 MB / 438.1 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000311/0.2746, allocations: 146.6 kB / 438.2 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.2748, allocations: 84.81 kB / 438.3 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.2748, allocations: 0 / 438.3 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.2749, allocations: 38.56 kB / 438.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 9.92e-07/0.2749, allocations: 0 / 438.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.00121/0.2761, allocations: 338.3 kB / 438.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.2761, allocations: 59.41 kB / 438.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.2763, allocations: 184.3 kB / 438.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.2763, allocations: 29.7 kB / 438.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.88e-05/0.2764, allocations: 148.4 kB / 439.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.301e-05/0.2765, allocations: 67.42 kB / 439.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.551e-05/0.2766, allocations: 37.7 kB / 439.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.2767, allocations: 334.8 kB / 439.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.2768, allocations: 43.98 kB / 439.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.277, allocations: 69.69 kB / 439.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.2772, allocations: 132.2 kB / 439.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2772, allocations: 3.938 kB / 439.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004293/0.2776, allocations: 218.3 kB / 440 MB, free: 14.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2776, allocations: 7.938 kB / 440 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2776, allocations: 0 / 440 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001364/0.279, allocations: 220.6 kB / 440.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.2791, allocations: 31.98 kB / 440.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005337/0.2797, allocations: 0.611 MB / 440.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.2798, allocations: 15.88 kB / 440.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.2798, allocations: 11.98 kB / 440.9 MB, free: 13.36 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.0001299/0.2799, allocations: 129.8 kB / 441 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.28, allocations: 15.91 kB / 441 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004666/0.2805, allocations: 231 kB / 441.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2805, allocations: 4 kB / 441.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.2805, allocations: 0 / 441.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2805, allocations: 0 / 441.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008974/0.2814, allocations: 0.556 MB / 441.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2814, allocations: 0 / 441.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.2815, allocations: 23.98 kB / 441.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00108/0.2826, allocations: 200.7 kB / 442 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.2826, allocations: 8 kB / 442 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005587/0.2832, allocations: 0.6225 MB / 442.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2832, allocations: 0 / 442.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008378/0.284, allocations: 436.8 kB / 443.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.284, allocations: 23.83 kB / 443.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.2841, allocations: 4 kB / 443.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.2842, allocations: 7.984 kB / 443.1 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.2843, allocations: 11.98 kB / 443.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.2843, allocations: 8 kB / 443.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.2844, allocations: 133.2 kB / 443.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2844, allocations: 0 / 443.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003005/0.2847, allocations: 55.89 kB / 443.3 MB, free: 10.8 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.001234/0.2859, allocations: 0.9625 MB / 444.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003953/0.2863, allocations: 143.7 kB / 444.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2863, allocations: 0 / 444.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.2865, allocations: 84.02 kB / 444.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.2869, allocations: 23.98 kB / 444.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/0.2901, allocations: 2.344 MB / 446.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.2902, allocations: 129.9 kB / 447 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.62e-05/0.2903, allocations: 9.484 kB / 447 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.444e-05/0.2904, allocations: 59.42 kB / 447.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2904, allocations: 4 kB / 447.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02841/0.3188, allocations: 4.802 MB / 451.9 MB, free: 2.285 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.69, allocations: 13.55 kB / 451.9 MB, free: 2.273 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingRectifier_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.060213528922759] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 12.86263814906124 12.878446647 12.604769081 Calling exit ...