Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009122/0.0009122, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.00495/0.00495, allocations: 163.1 kB / 24.69 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8353/0.8353, allocations: 158.6 MB / 186.5 MB, free: 3.02 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.382e-05, allocations: 2.281 kB / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002684/0.002708, allocations: 2.334 MB / 300.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.00375, allocations: 0.6438 MB / 301.4 MB, free: 0.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.003858, allocations: 7.938 kB / 301.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.003981, allocations: 39.58 kB / 301.5 MB, free: 464 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.815e-05/0.004079, allocations: 79.27 kB / 301.5 MB, free: 384 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.004366, allocations: 75.78 kB / 301.6 MB, free: 308 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.004603, allocations: 286.6 kB / 301.9 MB, free: 20 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1244/0.129, allocations: 52.61 kB / 301.9 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003531/0.1294, allocations: 163.9 kB / 302.1 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.1295, allocations: 83.56 kB / 302.2 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.582e-05/0.1295, allocations: 22.06 kB / 302.2 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.156e-05/0.1296, allocations: 34.7 kB / 302.2 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.964e-05/0.1297, allocations: 54.5 kB / 302.3 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.57e-05/0.1297, allocations: 83.8 kB / 302.4 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003753/0.1301, allocations: 294.3 kB / 302.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1301, allocations: 0 / 302.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1301, allocations: 2.281 kB / 302.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.1301, allocations: 0 / 302.7 MB, free: 13.18 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.0006126/0.1307, allocations: 460.7 kB / 303.1 MB, free: 12.85 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1308, allocations: 15.28 kB / 303.1 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/0.1308, allocations: 55.34 kB / 303.2 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.1309, allocations: 25.3 kB / 303.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.1312, allocations: 184.7 kB / 303.4 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.1312, allocations: 16.44 kB / 303.4 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.1312, allocations: 17.69 kB / 303.4 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.1315, allocations: 244.3 kB / 303.7 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1315, allocations: 0 / 303.7 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.1315, allocations: 13.28 kB / 303.7 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1315, allocations: 4.469 kB / 303.7 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.1318, allocations: 153.5 kB / 303.8 MB, free: 12.54 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.0009078/0.1327, allocations: 0.6618 MB / 304.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.1329, allocations: 143.9 kB / 304.6 MB, free: 12.19 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.1331, allocations: 90.61 kB / 304.7 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1331, allocations: 2.5 kB / 304.7 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.1331, allocations: 33.58 kB / 304.8 MB, free: 12.14 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.482e-06/0.1331, allocations: 0.5938 kB / 304.8 MB, free: 12.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008228/0.1339, allocations: 345.8 kB / 305.1 MB, free: 12.08 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.134, allocations: 54.64 kB / 305.2 MB, free: 12.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.1341, allocations: 171 kB / 305.3 MB, free: 11.92 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.1341, allocations: 26.77 kB / 305.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.1341, allocations: 150.1 kB / 305.5 MB, free: 11.78 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.1342, allocations: 63.47 kB / 305.6 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/0.1342, allocations: 37.02 kB / 305.6 MB, free: 11.72 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.527e-05/0.1343, allocations: 328.6 kB / 305.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.798e-05/0.1343, allocations: 48 kB / 306 MB, free: 11.4 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.2e-05/0.1344, allocations: 76.59 kB / 306 MB, free: 11.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.1346, allocations: 127.4 kB / 306.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1346, allocations: 1.188 kB / 306.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002654/0.1348, allocations: 215.2 kB / 306.4 MB, free: 11.19 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1349, allocations: 5.188 kB / 306.4 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.1349, allocations: 1.984 kB / 306.4 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007536/0.1356, allocations: 217.4 kB / 306.6 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.286e-05/0.1357, allocations: 34.28 kB / 306.6 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003062/0.136, allocations: 0.6148 MB / 307.2 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.761e-05/0.1361, allocations: 13.14 kB / 307.2 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.1361, allocations: 4.844 kB / 307.3 MB, free: 10.59 MB / 282.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 9.606e-05/0.1362, allocations: 139.3 kB / 307.4 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.1362, allocations: 25.3 kB / 307.4 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003284/0.1365, allocations: 229 kB / 307.6 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1365, allocations: 2.875 kB / 307.6 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.1366, allocations: 0 / 307.6 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1366, allocations: 0.75 kB / 307.6 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005809/0.1371, allocations: 0.5359 MB / 308.2 MB, free: 9.945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1371, allocations: 5.406 kB / 308.2 MB, free: 9.941 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.188e-05/0.1372, allocations: 30.33 kB / 308.2 MB, free: 9.941 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005629/0.1378, allocations: 196.5 kB / 308.4 MB, free: 9.918 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.1378, allocations: 9.547 kB / 308.4 MB, free: 9.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002378/0.1381, allocations: 0.6194 MB / 309 MB, free: 9.348 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1381, allocations: 1.156 kB / 309 MB, free: 9.348 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004945/0.1385, allocations: 434.6 kB / 309.5 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.1386, allocations: 19.08 kB / 309.5 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.1386, allocations: 5.125 kB / 309.5 MB, free: 9.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.1387, allocations: 11.62 kB / 309.5 MB, free: 9.078 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.1387, allocations: 13.61 kB / 309.5 MB, free: 9.074 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.1387, allocations: 5.016 kB / 309.5 MB, free: 9.074 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.31e-05/0.1388, allocations: 132.2 kB / 309.6 MB, free: 8.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1388, allocations: 5.219 kB / 309.6 MB, free: 8.977 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000238/0.139, allocations: 55.3 kB / 309.7 MB, free: 8.965 MB / 282.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.0006767/0.1397, allocations: 0.9595 MB / 310.7 MB, free: 8.188 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002827/0.14, allocations: 154.8 kB / 310.8 MB, free: 8.137 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.14, allocations: 0 / 310.8 MB, free: 8.137 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.1401, allocations: 76.8 kB / 310.9 MB, free: 8.121 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.1404, allocations: 35.02 kB / 310.9 MB, free: 8.105 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.1422, allocations: 2.229 MB / 313.1 MB, free: 6.469 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.918e-05/0.1423, allocations: 131.3 kB / 313.3 MB, free: 6.391 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.076e-05/0.1423, allocations: 10.81 kB / 313.3 MB, free: 6.391 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.806e-05/0.1424, allocations: 61.52 kB / 313.3 MB, free: 6.344 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1424, allocations: 1.562 kB / 313.3 MB, free: 6.344 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.1621, allocations: 5.168 MB / 318.5 MB, free: 4.91 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.037, allocations: 9.062 kB / 318.5 MB, free: 4.902 MB / 282.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.677527997642756] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 8.130378964357078 8.142705427 8.010739975 Calling exit ...