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.001164/0.001164, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001105/0.001105, allocations: 157 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8955/0.8955, allocations: 173.4 MB / 200.4 MB, free: 9.453 MB / 186.7 MB " [Timeout remaining time 179] 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 1.262e-06/1.262e-06, allocations: 0 / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.093e-05, allocations: 9.516 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002488/0.002509, allocations: 2.368 MB / 320.8 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008082/0.003317, allocations: 0.631 MB / 321.4 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.91e-05/0.003406, allocations: 4 kB / 321.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.003513, allocations: 35.59 kB / 321.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.641e-05/0.0036, allocations: 75.28 kB / 321.6 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.003844, allocations: 95.75 kB / 321.6 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.004067, allocations: 286.6 kB / 321.9 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.0042, allocations: 56.56 kB / 322 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.004355, allocations: 167.5 kB / 322.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.004464, allocations: 79.78 kB / 322.2 MB, free: 2.543 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.004492, allocations: 20 kB / 322.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.495e-05/0.004557, allocations: 43.91 kB / 322.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.422e-05/0.004592, allocations: 51.77 kB / 322.3 MB, free: 2.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.995e-05/0.004651, allocations: 87.81 kB / 322.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.004889, allocations: 287.1 kB / 322.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.004891, allocations: 4 kB / 322.7 MB, free: 2.059 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.004893, allocations: 0 / 322.7 MB, free: 2.059 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.004897, allocations: 0 / 322.7 MB, free: 2.059 MB / 282.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.0005454/0.005442, allocations: 472.8 kB / 323.2 MB, free: 1.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.005475, allocations: 8.922 kB / 323.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.005515, allocations: 58.67 kB / 323.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.005552, allocations: 32.8 kB / 323.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.005753, allocations: 185.3 kB / 323.4 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.005766, allocations: 20.88 kB / 323.5 MB, free: 1.238 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.005794, allocations: 20.36 kB / 323.5 MB, free: 1.219 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.006054, allocations: 240.1 kB / 323.7 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.006064, allocations: 192 / 323.7 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.006081, allocations: 12.12 kB / 323.7 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.006085, allocations: 4 kB / 323.7 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.006286, allocations: 157.9 kB / 323.9 MB, free: 0.7969 MB / 282.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.0007898/0.007076, allocations: 0.6681 MB / 324.6 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.007287, allocations: 138.6 kB / 324.7 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.007424, allocations: 92.81 kB / 324.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.007441, allocations: 320 / 324.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.007462, allocations: 42.5 kB / 324.8 MB, free: 15.78 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 8.21e-07/0.007463, allocations: 0 / 324.8 MB, free: 15.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007244/0.008187, allocations: 341 kB / 325.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.008213, allocations: 51.41 kB / 325.2 MB, free: 15.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.008321, allocations: 170.8 kB / 325.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.008337, allocations: 37.7 kB / 325.4 MB, free: 15.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.008404, allocations: 152.3 kB / 325.6 MB, free: 15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.792e-05/0.008472, allocations: 59.48 kB / 325.6 MB, free: 14.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.008518, allocations: 37.7 kB / 325.7 MB, free: 14.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.461e-05/0.008593, allocations: 326.8 kB / 326 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.202e-05/0.008665, allocations: 51.97 kB / 326 MB, free: 14.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.045e-05/0.008745, allocations: 76.81 kB / 326.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.008907, allocations: 129.5 kB / 326.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.008909, allocations: 0 / 326.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002445/0.009154, allocations: 218.3 kB / 326.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.009165, allocations: 4 kB / 326.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.009171, allocations: 4 kB / 326.5 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007026/0.009873, allocations: 212.6 kB / 326.7 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.523e-05/0.009948, allocations: 39.91 kB / 326.7 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000318/0.01027, allocations: 0.6147 MB / 327.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.156e-05/0.01032, allocations: 11.92 kB / 327.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.01033, allocations: 8.078 kB / 327.3 MB, free: 13.17 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.054e-05/0.01041, allocations: 129.8 kB / 327.5 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.01043, allocations: 19.84 kB / 327.5 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/0.01073, allocations: 230.7 kB / 327.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.01073, allocations: 0 / 327.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.01073, allocations: 4.062 kB / 327.7 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/0.01074, allocations: 4 kB / 327.7 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006761/0.01141, allocations: 0.5342 MB / 328.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.01141, allocations: 3.984 kB / 328.3 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.278e-05/0.0115, allocations: 27.92 kB / 328.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005161/0.01201, allocations: 204.7 kB / 328.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.01203, allocations: 11.94 kB / 328.5 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002819/0.01231, allocations: 0.6226 MB / 329.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01231, allocations: 0 / 329.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004364/0.01274, allocations: 416.8 kB / 329.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.01277, allocations: 23.97 kB / 329.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.01279, allocations: 15.98 kB / 329.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.01286, allocations: 12 kB / 329.6 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.01289, allocations: 11.97 kB / 329.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.0129, allocations: 8 kB / 329.6 MB, free: 10.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.61e-05/0.01297, allocations: 140.2 kB / 329.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01297, allocations: 0 / 329.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001832/0.01315, allocations: 55.89 kB / 329.8 MB, free: 10.6 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.0006448/0.0138, allocations: 0.9545 MB / 330.7 MB, free: 9.613 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.01403, allocations: 143.8 kB / 330.9 MB, free: 9.473 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01403, allocations: 0 / 330.9 MB, free: 9.473 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.654e-05/0.01413, allocations: 86.17 kB / 331 MB, free: 9.391 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.01435, allocations: 36.05 kB / 331 MB, free: 9.355 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.01644, allocations: 2.255 MB / 333.2 MB, free: 7.004 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.909e-05/0.01652, allocations: 125.9 kB / 333.4 MB, free: 6.863 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.04e-05/0.01656, allocations: 13.5 kB / 333.4 MB, free: 6.848 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.213e-05/0.01662, allocations: 60.47 kB / 333.4 MB, free: 6.789 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01662, allocations: 0 / 333.4 MB, free: 6.789 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.03428, allocations: 5.216 MB / 338.7 MB, free: 1.734 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/7.859, allocations: 4.062 kB / 338.7 MB, free: 1.73 MB / 298.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.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_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: 9.667752439156175] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 7.953209360130131 7.964665787 7.957343401 Calling exit ...