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.0008238/0.0008238, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0007963/0.0007963, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8936/0.8936, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 1.813e-06/1.813e-06, allocations: 0 / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.862e-05/3.044e-05, allocations: 4.672 kB / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.00277/0.002801, allocations: 2.401 MB / 327 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.003922, allocations: 0.6855 MB / 327.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.004062, allocations: 7.938 kB / 327.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.004226, allocations: 27.66 kB / 327.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.004452, allocations: 83.27 kB / 327.8 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.004877, allocations: 87.75 kB / 327.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002889/0.005166, allocations: 298.4 kB / 328.2 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.005317, allocations: 60.55 kB / 328.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.005538, allocations: 171.6 kB / 328.4 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.005651, allocations: 79.78 kB / 328.5 MB, free: 12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.00568, allocations: 24 kB / 328.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.295e-05/0.005753, allocations: 39.98 kB / 328.5 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/0.005781, allocations: 47.77 kB / 328.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.918e-05/0.00584, allocations: 91.75 kB / 328.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.006097, allocations: 307 kB / 329 MB, free: 11.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.0061, allocations: 0 / 329 MB, free: 11.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.006101, allocations: 0 / 329 MB, free: 11.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.006106, allocations: 0 / 329 MB, free: 11.5 MB / 298.7 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.0006304/0.006737, allocations: 468.5 kB / 329.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.006784, allocations: 8.031 kB / 329.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.42e-05/0.006838, allocations: 66.72 kB / 329.5 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.00697, allocations: 36.75 kB / 329.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004511/0.007421, allocations: 189.4 kB / 329.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.007437, allocations: 12.88 kB / 329.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.007474, allocations: 20.38 kB / 329.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.007783, allocations: 240.1 kB / 330 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.007798, allocations: 8.141 kB / 330 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.007816, allocations: 8.125 kB / 330 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.007822, allocations: 4 kB / 330 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.008032, allocations: 157.8 kB / 330.2 MB, free: 10.23 MB / 298.7 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.0008201/0.008852, allocations: 0.6604 MB / 330.8 MB, free: 9.512 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.009069, allocations: 154.5 kB / 331 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.009207, allocations: 88.7 kB / 331.1 MB, free: 9.266 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.009227, allocations: 4 kB / 331.1 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.009248, allocations: 38.88 kB / 331.1 MB, free: 9.215 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.172e-06/0.009249, allocations: 0 / 331.1 MB, free: 9.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007014/0.00995, allocations: 337 kB / 331.4 MB, free: 8.879 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.009977, allocations: 55.41 kB / 331.5 MB, free: 8.812 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.01009, allocations: 180.4 kB / 331.7 MB, free: 8.625 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.0101, allocations: 29.7 kB / 331.7 MB, free: 8.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.01017, allocations: 160.3 kB / 331.8 MB, free: 8.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.0102, allocations: 71.42 kB / 331.9 MB, free: 8.359 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.01025, allocations: 33.72 kB / 331.9 MB, free: 8.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.357e-05/0.01032, allocations: 330.8 kB / 332.3 MB, free: 7.988 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.486e-05/0.01039, allocations: 43.98 kB / 332.3 MB, free: 7.945 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.744e-05/0.01046, allocations: 73.62 kB / 332.4 MB, free: 7.867 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.01061, allocations: 133.5 kB / 332.5 MB, free: 7.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01062, allocations: 0 / 332.5 MB, free: 7.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002401/0.01086, allocations: 218.3 kB / 332.7 MB, free: 7.508 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.01087, allocations: 4 kB / 332.7 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.01087, allocations: 0 / 332.7 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006367/0.01151, allocations: 220.6 kB / 332.9 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.01158, allocations: 27.98 kB / 333 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005559/0.01214, allocations: 0.6186 MB / 333.6 MB, free: 6.613 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.084e-05/0.01219, allocations: 11.97 kB / 333.6 MB, free: 6.602 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.0122, allocations: 8 kB / 333.6 MB, free: 6.594 MB / 298.7 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 8.42e-05/0.01228, allocations: 129.8 kB / 333.7 MB, free: 6.457 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.01231, allocations: 19.84 kB / 333.8 MB, free: 6.438 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/0.01259, allocations: 231.1 kB / 334 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01259, allocations: 0 / 334 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.0126, allocations: 0 / 334 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.0126, allocations: 0 / 334 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000504/0.0131, allocations: 0.5421 MB / 334.5 MB, free: 5.609 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.01311, allocations: 0 / 334.5 MB, free: 5.609 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.767e-05/0.01318, allocations: 31.92 kB / 334.6 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000483/0.01367, allocations: 196.7 kB / 334.7 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.01368, allocations: 11.94 kB / 334.8 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002771/0.01396, allocations: 0.6303 MB / 335.4 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01396, allocations: 0 / 335.4 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004205/0.01438, allocations: 420.1 kB / 335.8 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.0144, allocations: 23.83 kB / 335.8 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.01442, allocations: 3.938 kB / 335.8 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.01449, allocations: 20.05 kB / 335.8 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.01452, allocations: 11.92 kB / 335.9 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.01453, allocations: 12 kB / 335.9 MB, free: 4.215 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.442e-05/0.01459, allocations: 133.2 kB / 336 MB, free: 4.086 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01459, allocations: 0 / 336 MB, free: 4.086 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001802/0.01477, allocations: 55.89 kB / 336.1 MB, free: 4.031 MB / 298.7 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.0006273/0.0154, allocations: 0.9585 MB / 337 MB, free: 3.043 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.01564, allocations: 143.8 kB / 337.2 MB, free: 2.902 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.01564, allocations: 4 kB / 337.2 MB, free: 2.898 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.183e-05/0.01573, allocations: 79.89 kB / 337.2 MB, free: 2.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.01595, allocations: 38.05 kB / 337.3 MB, free: 2.785 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.01771, allocations: 2.264 MB / 339.5 MB, free: 428 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.633e-05/0.01779, allocations: 133.8 kB / 339.7 MB, free: 276 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.954e-05/0.01783, allocations: 9.5 kB / 339.7 MB, free: 264 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.101e-05/0.01789, allocations: 64.47 kB / 339.7 MB, free: 200 kB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01789, allocations: 0 / 339.7 MB, free: 200 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.0358, allocations: 5.254 MB / 345 MB, free: 11.1 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/7.918, allocations: 0 / 345 MB, free: 11.1 MB / 314.7 MB " [Timeout remaining time 652] (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: 9.699537408538163] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 8.015428131446242 8.025803364 8.017094762 Calling exit ...