Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 189.6 kB / 24.49 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 47.92 kB / 371.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2483, allocations: 52.18 MB / 423.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004485/0.2528, allocations: 2.385 MB / 425.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.2542, allocations: 0.6155 MB / 426.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001996/0.2544, allocations: 7.938 kB / 426.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.2545, allocations: 35.64 kB / 426.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.2547, allocations: 71.34 kB / 426.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.2551, allocations: 79.84 kB / 426.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004272/0.2556, allocations: 282.8 kB / 426.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.2558, allocations: 68.5 kB / 426.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002428/0.256, allocations: 115.5 kB / 427 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.2562, allocations: 111.5 kB / 427.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.017e-05/0.2563, allocations: 24 kB / 427.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.2564, allocations: 35.98 kB / 427.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.996e-05/0.2565, allocations: 47.83 kB / 427.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.2566, allocations: 107.5 kB / 427.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003782/0.257, allocations: 290.8 kB / 427.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.257, allocations: 0 / 427.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.257, allocations: 4 kB / 427.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.257, allocations: 0 / 427.6 MB, free: 10.12 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.0009494/0.2579, allocations: 465.5 kB / 428.1 MB, free: 9.641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.258, allocations: 12.03 kB / 428.1 MB, free: 9.629 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.114e-05/0.258, allocations: 8.625 kB / 428.1 MB, free: 9.621 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.834e-05/0.2581, allocations: 58.72 kB / 428.1 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.431e-05/0.2581, allocations: 28.8 kB / 428.2 MB, free: 9.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.2585, allocations: 186.2 kB / 428.4 MB, free: 9.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.2585, allocations: 12.81 kB / 428.4 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.988e-05/0.2585, allocations: 20.38 kB / 428.4 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004149/0.259, allocations: 242.6 kB / 428.6 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.259, allocations: 7.984 kB / 428.6 MB, free: 9.023 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.259, allocations: 12 kB / 428.6 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.259, allocations: 4 kB / 428.6 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003121/0.2593, allocations: 149.7 kB / 428.8 MB, free: 8.859 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.001275/0.2606, allocations: 0.6675 MB / 429.5 MB, free: 8.133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.2609, allocations: 142.5 kB / 429.6 MB, free: 7.984 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.2611, allocations: 95.19 kB / 429.7 MB, free: 7.891 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.2611, allocations: 0 / 429.7 MB, free: 7.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.2612, allocations: 38.56 kB / 429.7 MB, free: 7.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.142e-06/0.2612, allocations: 0 / 429.7 MB, free: 7.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001265/0.2624, allocations: 346.2 kB / 430.1 MB, free: 7.496 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.2625, allocations: 55.41 kB / 430.1 MB, free: 7.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.2627, allocations: 179.3 kB / 430.3 MB, free: 7.242 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.2627, allocations: 29.7 kB / 430.3 MB, free: 7.207 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.2628, allocations: 148.5 kB / 430.5 MB, free: 7.059 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.073e-05/0.2629, allocations: 59.44 kB / 430.5 MB, free: 7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.029e-05/0.2629, allocations: 37.7 kB / 430.6 MB, free: 6.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2631, allocations: 330.8 kB / 430.9 MB, free: 6.625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.2632, allocations: 51.98 kB / 430.9 MB, free: 6.574 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.2633, allocations: 69.69 kB / 431 MB, free: 6.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.2636, allocations: 128.2 kB / 431.1 MB, free: 6.371 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2636, allocations: 0 / 431.1 MB, free: 6.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004122/0.264, allocations: 218.3 kB / 431.3 MB, free: 6.148 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.264, allocations: 11.94 kB / 431.4 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.264, allocations: 0 / 431.4 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.2654, allocations: 212.6 kB / 431.6 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.2655, allocations: 31.98 kB / 431.6 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000566/0.2661, allocations: 0.6148 MB / 432.2 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.2662, allocations: 19.91 kB / 432.2 MB, free: 5.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.2662, allocations: 8 kB / 432.2 MB, free: 5.227 MB / 334.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.0001258/0.2664, allocations: 130.8 kB / 432.4 MB, free: 5.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/0.2664, allocations: 15.91 kB / 432.4 MB, free: 5.074 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004528/0.2669, allocations: 220.2 kB / 432.6 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.2669, allocations: 7.984 kB / 432.6 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2669, allocations: 4.062 kB / 432.6 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.2669, allocations: 0 / 432.6 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008668/0.2677, allocations: 0.5529 MB / 433.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2677, allocations: 0 / 433.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.2679, allocations: 31.98 kB / 433.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/0.269, allocations: 200.6 kB / 433.4 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.269, allocations: 11.94 kB / 433.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005062/0.2695, allocations: 0.6226 MB / 434 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.2695, allocations: 4 kB / 434 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008413/0.2704, allocations: 436.1 kB / 434.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.2704, allocations: 15.89 kB / 434.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.2704, allocations: 4.125 kB / 434.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.2706, allocations: 15.98 kB / 434.5 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.2706, allocations: 11.98 kB / 434.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.2706, allocations: 4 kB / 434.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.2707, allocations: 135.2 kB / 434.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2707, allocations: 0 / 434.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003098/0.271, allocations: 59.83 kB / 434.7 MB, free: 2.652 MB / 334.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.001205/0.2722, allocations: 0.9598 MB / 435.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003797/0.2726, allocations: 131.9 kB / 435.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2726, allocations: 4 kB / 435.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.2729, allocations: 83.8 kB / 435.9 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.2732, allocations: 28.17 kB / 435.9 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003049/0.2763, allocations: 2.317 MB / 438.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.2764, allocations: 133.8 kB / 438.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.957e-05/0.2765, allocations: 9.484 kB / 438.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.863e-05/0.2766, allocations: 63.41 kB / 438.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2766, allocations: 96 / 438.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.3042, allocations: 4.768 MB / 443.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.77, allocations: 15.42 kB / 443.2 MB, free: 10.19 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingRectifier_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.038849432952702] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 12.942581103066914 12.969747529 12.708005934 Calling exit ...