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.001261/0.001261, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.001317/0.001317, allocations: 187.7 kB / 23.7 MB, free: 4.191 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.367/1.367, allocations: 225.7 MB / 252.5 MB, free: 12.86 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 43.92 kB / 370.4 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2402, allocations: 52.18 MB / 422.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003731/0.2439, allocations: 2.391 MB / 425 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.2451, allocations: 0.6155 MB / 425.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.2452, allocations: 4 kB / 425.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.2453, allocations: 35.64 kB / 425.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.2455, allocations: 79.28 kB / 425.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.2458, allocations: 79.83 kB / 425.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003139/0.2461, allocations: 282.7 kB / 426 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.2462, allocations: 66.17 kB / 426.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.2464, allocations: 107.6 kB / 426.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.2466, allocations: 103.5 kB / 426.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.2466, allocations: 20 kB / 426.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.2467, allocations: 39.98 kB / 426.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.2468, allocations: 47.83 kB / 426.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.2469, allocations: 107.5 kB / 426.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000359/0.2473, allocations: 286.9 kB / 426.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2473, allocations: 0 / 426.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2473, allocations: 0 / 426.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.2473, allocations: 0 / 426.8 MB, free: 10.16 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.2481, allocations: 473.5 kB / 427.3 MB, free: 9.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2481, allocations: 16.03 kB / 427.3 MB, free: 9.656 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.687e-05/0.2482, allocations: 54.67 kB / 427.3 MB, free: 9.594 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.897e-05/0.2483, allocations: 32.78 kB / 427.4 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.2486, allocations: 182.1 kB / 427.5 MB, free: 9.359 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.2486, allocations: 12.81 kB / 427.6 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.2486, allocations: 24.38 kB / 427.6 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004075/0.2491, allocations: 242.8 kB / 427.8 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.2491, allocations: 0 / 427.8 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.2491, allocations: 8 kB / 427.8 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.2491, allocations: 8 kB / 427.8 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003144/0.2494, allocations: 153.6 kB / 428 MB, free: 8.898 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.0013/0.2507, allocations: 0.6674 MB / 428.7 MB, free: 8.172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.251, allocations: 138.5 kB / 428.8 MB, free: 8.027 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.2512, allocations: 88.84 kB / 428.9 MB, free: 7.938 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.2513, allocations: 4 kB / 428.9 MB, free: 7.934 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.2513, allocations: 38.5 kB / 428.9 MB, free: 7.887 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.2513, allocations: 0 / 428.9 MB, free: 7.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001213/0.2525, allocations: 342.3 kB / 429.3 MB, free: 7.543 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.2526, allocations: 55.41 kB / 429.3 MB, free: 7.477 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.2527, allocations: 182.8 kB / 429.5 MB, free: 7.285 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.2528, allocations: 29.7 kB / 429.5 MB, free: 7.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.2529, allocations: 144.5 kB / 429.7 MB, free: 7.105 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.541e-05/0.2529, allocations: 63.44 kB / 429.7 MB, free: 7.043 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.72e-05/0.253, allocations: 37.7 kB / 429.8 MB, free: 7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.2532, allocations: 334.8 kB / 430.1 MB, free: 6.664 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.2533, allocations: 43.98 kB / 430.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.2534, allocations: 69.69 kB / 430.2 MB, free: 6.547 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.2537, allocations: 132.2 kB / 430.3 MB, free: 6.414 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2537, allocations: 0 / 430.3 MB, free: 6.414 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004239/0.2541, allocations: 222.3 kB / 430.5 MB, free: 6.188 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.2541, allocations: 4 kB / 430.5 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.2541, allocations: 3.938 kB / 430.5 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.2554, allocations: 228.6 kB / 430.8 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.2555, allocations: 31.98 kB / 430.8 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005396/0.2561, allocations: 0.607 MB / 431.4 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.2562, allocations: 15.86 kB / 431.4 MB, free: 5.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.2562, allocations: 11.98 kB / 431.4 MB, free: 5.262 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.0001343/0.2563, allocations: 131.5 kB / 431.6 MB, free: 5.125 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/0.2564, allocations: 15.91 kB / 431.6 MB, free: 5.109 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/0.2568, allocations: 224.2 kB / 431.8 MB, free: 4.883 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.2568, allocations: 4 kB / 431.8 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.2568, allocations: 3.984 kB / 431.8 MB, free: 4.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.2569, allocations: 0 / 431.8 MB, free: 4.875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008613/0.2577, allocations: 0.5508 MB / 432.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2577, allocations: 3.938 kB / 432.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.2579, allocations: 27.92 kB / 432.4 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009907/0.2589, allocations: 204.6 kB / 432.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.2589, allocations: 8 kB / 432.6 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006/0.2595, allocations: 0.6187 MB / 433.2 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2595, allocations: 0 / 433.2 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008612/0.2603, allocations: 435.8 kB / 433.6 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.491e-05/0.2604, allocations: 19.89 kB / 433.7 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.2604, allocations: 4 kB / 433.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.2605, allocations: 4 kB / 433.7 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.2606, allocations: 19.91 kB / 433.7 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.2606, allocations: 4 kB / 433.7 MB, free: 2.891 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.2607, allocations: 140.8 kB / 433.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2607, allocations: 0 / 433.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000295/0.261, allocations: 59.83 kB / 433.9 MB, free: 2.695 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.001219/0.2622, allocations: 0.9522 MB / 434.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003878/0.2626, allocations: 143.8 kB / 435 MB, free: 1.566 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2626, allocations: 0 / 435 MB, free: 1.566 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.2628, allocations: 87.92 kB / 435.1 MB, free: 1.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.2632, allocations: 31.36 kB / 435.1 MB, free: 1.453 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003152/0.2663, allocations: 2.321 MB / 437.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.2665, allocations: 129.9 kB / 437.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.633e-05/0.2665, allocations: 13.47 kB / 437.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.997e-05/0.2666, allocations: 63.5 kB / 437.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of SimCode: time 6.72e-07/0.2666, allocations: 7.938 kB / 437.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03327/0.2999, allocations: 5.064 MB / 442.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.14, allocations: 7.688 kB / 442.7 MB, free: 9.91 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.321273275185376] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 12.251886641141027 12.267838851 12.017556892 Calling exit ...