Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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.000844/0.000844, 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.004169/0.004169, allocations: 165.6 kB / 24.7 MB, free: 8.887 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.8769/0.8769, allocations: 158.6 MB / 186.5 MB, free: 3.027 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.HeatingMOSInverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.164e-05, allocations: 2.281 kB / 298.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003055/0.003077, allocations: 2.863 MB / 301.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1252/0.1282, allocations: 0.7973 MB / 302.1 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002897/0.1285, allocations: 5.719 kB / 302.1 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.1287, allocations: 61.47 kB / 302.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.1289, allocations: 116.1 kB / 302.3 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.1293, allocations: 152.1 kB / 302.4 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004551/0.1298, allocations: 0.5502 MB / 303 MB, free: 13 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.13, allocations: 121.4 kB / 303.1 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000347/0.1303, allocations: 315.3 kB / 303.4 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.1305, allocations: 193 kB / 303.6 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.744e-05/0.1306, allocations: 51.03 kB / 303.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.96e-05/0.1307, allocations: 60.67 kB / 303.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.555e-05/0.1308, allocations: 110.1 kB / 303.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.1309, allocations: 176.3 kB / 304 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005238/0.1314, allocations: 0.5777 MB / 304.6 MB, free: 12.8 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1314, allocations: 0 / 304.6 MB, free: 12.8 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1314, allocations: 1 kB / 304.6 MB, free: 12.8 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1314, allocations: 0.5 kB / 304.6 MB, free: 12.8 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001109/0.1325, allocations: 0.7224 MB / 305.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.1326, allocations: 14.73 kB / 305.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.633e-05/0.1327, allocations: 76.28 kB / 305.4 MB, free: 12.26 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.203e-05/0.1327, allocations: 50.11 kB / 305.4 MB, free: 12.24 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.1332, allocations: 245.2 kB / 305.7 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.1332, allocations: 29.06 kB / 305.7 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.409e-05/0.1333, allocations: 41.34 kB / 305.7 MB, free: 12.01 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007767/0.134, allocations: 0.65 MB / 306.4 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.1341, allocations: 2.812 kB / 306.4 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.1341, allocations: 16.03 kB / 306.4 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.1341, allocations: 14.27 kB / 306.4 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008118/0.1349, allocations: 0.4955 MB / 306.9 MB, free: 11.46 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.001511/0.1364, allocations: 1.236 MB / 308.2 MB, free: 10.72 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007461/0.1372, allocations: 406 kB / 308.6 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/0.1375, allocations: 221.9 kB / 308.8 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.1376, allocations: 10.8 kB / 308.8 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.1376, allocations: 37.95 kB / 308.8 MB, free: 10.47 MB / 282.7 MB Notification: Performance of pre-optimization done (n=40): time 1.874e-06/0.1376, allocations: 0 / 308.8 MB, free: 10.47 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.002625/0.1402, allocations: 1.208 MB / 310 MB, free: 10.18 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.1402, allocations: 162.8 kB / 310.2 MB, free: 9.992 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.1405, allocations: 268.5 kB / 310.4 MB, free: 9.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.1405, allocations: 35.98 kB / 310.5 MB, free: 9.801 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.94e-05/0.1406, allocations: 213.5 kB / 310.7 MB, free: 9.625 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.924e-05/0.1406, allocations: 136.6 kB / 310.8 MB, free: 9.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.302e-05/0.1407, allocations: 83.17 kB / 310.9 MB, free: 9.469 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.189e-05/0.1408, allocations: 344.3 kB / 311.2 MB, free: 9.141 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/0.1411, allocations: 180 kB / 311.4 MB, free: 9.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/0.1414, allocations: 388.6 kB / 311.8 MB, free: 8.805 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005901/0.142, allocations: 421.4 kB / 312.2 MB, free: 8.617 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.142, allocations: 1.688 kB / 312.2 MB, free: 8.617 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001027/0.1431, allocations: 0.6703 MB / 312.9 MB, free: 8.387 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1431, allocations: 5.719 kB / 312.9 MB, free: 8.387 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1431, allocations: 2.328 kB / 312.9 MB, free: 8.387 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007434/0.1438, allocations: 331.4 kB / 313.2 MB, free: 8.301 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.144, allocations: 75.73 kB / 313.3 MB, free: 8.297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006195/0.1446, allocations: 1.346 MB / 314.6 MB, free: 7.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.1448, allocations: 81.22 kB / 314.7 MB, free: 7.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.1449, allocations: 17.47 kB / 314.7 MB, free: 7.09 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,9), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.145, allocations: 160.8 kB / 314.9 MB, free: 6.941 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.145, allocations: 37.41 kB / 314.9 MB, free: 6.922 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.1462, allocations: 0.723 MB / 315.6 MB, free: 6.664 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1462, allocations: 3.938 kB / 315.6 MB, free: 6.664 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1462, allocations: 1.219 kB / 315.6 MB, free: 6.664 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1462, allocations: 2.203 kB / 315.6 MB, free: 6.664 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003293/0.1465, allocations: 371.6 kB / 316 MB, free: 6.414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1465, allocations: 1.531 kB / 316 MB, free: 6.414 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.1467, allocations: 59.81 kB / 316.1 MB, free: 6.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006177/0.1473, allocations: 329.4 kB / 316.4 MB, free: 6.328 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.1473, allocations: 13.89 kB / 316.4 MB, free: 6.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005863/0.1479, allocations: 1.354 MB / 317.8 MB, free: 5.148 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1479, allocations: 0 / 317.8 MB, free: 5.148 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.1493, allocations: 1.015 MB / 318.8 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.218e-05/0.1493, allocations: 36.64 kB / 318.8 MB, free: 4.699 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.1494, allocations: 14.09 kB / 318.8 MB, free: 4.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.1495, allocations: 40.7 kB / 318.9 MB, free: 4.684 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.1496, allocations: 26.98 kB / 318.9 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.1496, allocations: 12.16 kB / 318.9 MB, free: 4.676 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001261/0.1497, allocations: 197.3 kB / 319.1 MB, free: 4.562 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1497, allocations: 0 / 319.1 MB, free: 4.562 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002722/0.15, allocations: 113.9 kB / 319.2 MB, free: 4.535 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,10), (1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001594/0.1516, allocations: 1.564 MB / 320.8 MB, free: 3.574 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000755/0.1524, allocations: 463.8 kB / 321.2 MB, free: 3.445 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1524, allocations: 1.656 kB / 321.2 MB, free: 3.445 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003495/0.1527, allocations: 246.9 kB / 321.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.153, allocations: 47.66 kB / 321.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/0.1571, allocations: 3.985 MB / 325.5 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.1572, allocations: 191.7 kB / 325.7 MB, free: 488 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.969e-05/0.1573, allocations: 31.61 kB / 325.7 MB, free: 472 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.851e-05/0.1574, allocations: 122.9 kB / 325.8 MB, free: 364 kB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1574, allocations: 0 / 325.8 MB, free: 364 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.1793, allocations: 9.317 MB / 335.2 MB, free: 8.777 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.968/8.147, allocations: 15.98 kB / 335.2 MB, free: 8.762 MB / 298.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000989903 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.870284870266914] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 8.24417963810265 8.253018031 8.119787541 Calling exit ...