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.001304/0.001304, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001505/0.001505, allocations: 210.3 kB / 23.73 MB, free: 4.379 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.39/1.39, allocations: 230.6 MB / 257.5 MB, free: 7.801 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 43.94 kB / 377.7 MB, free: 3.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2467, allocations: 53.37 MB / 431.1 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003847/0.2505, allocations: 2.404 MB / 433.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.252, allocations: 0.6661 MB / 434.2 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.2521, allocations: 7.938 kB / 434.2 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.2523, allocations: 35.64 kB / 434.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.2524, allocations: 71.34 kB / 434.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003574/0.2528, allocations: 99.75 kB / 434.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.2531, allocations: 282.7 kB / 434.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.2533, allocations: 65.3 kB / 434.7 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.2535, allocations: 115.6 kB / 434.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.2537, allocations: 115.5 kB / 434.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.27e-05/0.2537, allocations: 24 kB / 435 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.2538, allocations: 39.98 kB / 435 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.729e-05/0.2539, allocations: 47.84 kB / 435 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.998e-05/0.254, allocations: 103.5 kB / 435.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003693/0.2544, allocations: 295.5 kB / 435.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2544, allocations: 4 kB / 435.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2544, allocations: 0 / 435.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.2544, allocations: 7.938 kB / 435.4 MB, free: 2.391 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.0008257/0.2552, allocations: 469.5 kB / 435.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2552, allocations: 12.03 kB / 435.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.875e-05/0.2553, allocations: 54.73 kB / 436 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.2555, allocations: 40.73 kB / 436 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.2558, allocations: 190.1 kB / 436.2 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.2558, allocations: 12.81 kB / 436.2 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.997e-05/0.2559, allocations: 20.38 kB / 436.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/0.2563, allocations: 254.8 kB / 436.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.2563, allocations: 0 / 436.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.2563, allocations: 4 kB / 436.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.2563, allocations: 8 kB / 436.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003199/0.2567, allocations: 149.6 kB / 436.6 MB, free: 1.121 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.001261/0.2579, allocations: 0.6753 MB / 437.3 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.2582, allocations: 134.6 kB / 437.4 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.2584, allocations: 80.83 kB / 437.5 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.2584, allocations: 11.94 kB / 437.5 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.2585, allocations: 34.56 kB / 437.6 MB, free: 112 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.2585, allocations: 0 / 437.6 MB, free: 112 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001229/0.2597, allocations: 337.3 kB / 437.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.2597, allocations: 67.33 kB / 438 MB, free: 15.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.2599, allocations: 172.4 kB / 438.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.2599, allocations: 29.7 kB / 438.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.2601, allocations: 152.4 kB / 438.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/0.2601, allocations: 75.36 kB / 438.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-05/0.2602, allocations: 37.7 kB / 438.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.2603, allocations: 330.8 kB / 438.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.2604, allocations: 51.97 kB / 438.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.2606, allocations: 65.69 kB / 438.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.2608, allocations: 128.2 kB / 439 MB, free: 14.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2608, allocations: 4 kB / 439 MB, free: 14.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004181/0.2612, allocations: 226.3 kB / 439.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.2613, allocations: 4 kB / 439.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.2613, allocations: 3.938 kB / 439.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.2625, allocations: 212.6 kB / 439.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.2627, allocations: 31.97 kB / 439.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005622/0.2633, allocations: 0.6148 MB / 440.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.2634, allocations: 15.92 kB / 440.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.2634, allocations: 4 kB / 440.1 MB, free: 13.48 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.0001555/0.2636, allocations: 133.8 kB / 440.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.2636, allocations: 15.91 kB / 440.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000482/0.2641, allocations: 230.9 kB / 440.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2641, allocations: 0 / 440.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.2641, allocations: 0 / 440.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2641, allocations: 8.062 kB / 440.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008778/0.265, allocations: 0.5419 MB / 441 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.265, allocations: 3.938 kB / 441 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.2651, allocations: 31.92 kB / 441 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009803/0.2661, allocations: 204.6 kB / 441.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.2661, allocations: 0 / 441.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004925/0.2666, allocations: 0.6264 MB / 441.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2666, allocations: 0 / 441.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008537/0.2675, allocations: 420.9 kB / 442.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.2675, allocations: 27.78 kB / 442.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.2676, allocations: 7.938 kB / 442.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.2677, allocations: 16.12 kB / 442.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.2677, allocations: 11.97 kB / 442.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.2678, allocations: 7.938 kB / 442.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.2679, allocations: 128.1 kB / 442.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2679, allocations: 0 / 442.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003146/0.2682, allocations: 59.89 kB / 442.5 MB, free: 10.91 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.001158/0.2694, allocations: 0.9538 MB / 443.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004078/0.2698, allocations: 155.7 kB / 443.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2698, allocations: 0 / 443.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.2699, allocations: 79.89 kB / 443.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.2703, allocations: 34.78 kB / 443.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/0.2733, allocations: 2.34 MB / 446.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.2734, allocations: 129.9 kB / 446.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.187e-05/0.2735, allocations: 9.484 kB / 446.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.802e-05/0.2736, allocations: 63.41 kB / 446.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2736, allocations: 0 / 446.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/0.3058, allocations: 5.165 MB / 451.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.59, allocations: 10.2 kB / 451.5 MB, free: 2.016 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_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.04055039800005] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 12.702825075975852 12.730563952 12.47149218 Calling exit ...