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.001196/0.001196, 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.004277/0.004277, allocations: 165.8 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.8516/0.8516, allocations: 158.6 MB / 186.5 MB, free: 3.039 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.694e-06/1.694e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.238e-05/1.408e-05, allocations: 2.281 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003246/0.00326, allocations: 2.875 MB / 301.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1392/0.1425, allocations: 0.7852 MB / 302.1 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003142/0.1428, allocations: 6.219 kB / 302.1 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.143, allocations: 60.53 kB / 302.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.1432, allocations: 128.8 kB / 302.3 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004971/0.1437, allocations: 143.4 kB / 302.4 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004536/0.1442, allocations: 0.55 MB / 303 MB, free: 13 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.1444, allocations: 121.5 kB / 303.1 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003974/0.1448, allocations: 318.3 kB / 303.4 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002527/0.1451, allocations: 191.2 kB / 303.6 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.507e-05/0.1451, allocations: 53.69 kB / 303.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.1452, allocations: 57.36 kB / 303.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.325e-05/0.1453, allocations: 117.3 kB / 303.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.1455, allocations: 165.2 kB / 304 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005312/0.146, allocations: 0.5799 MB / 304.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.146, allocations: 1.25 kB / 304.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.146, allocations: 0.625 kB / 304.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.146, allocations: 1.328 kB / 304.6 MB, free: 12.79 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.0009267/0.1469, allocations: 0.7199 MB / 305.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.147, allocations: 15.22 kB / 305.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.505e-05/0.147, allocations: 75.19 kB / 305.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.422e-05/0.1471, allocations: 53.19 kB / 305.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.1474, allocations: 249.6 kB / 305.7 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.1475, allocations: 27.53 kB / 305.7 MB, free: 12.01 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/0.1475, allocations: 36.62 kB / 305.7 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000706/0.1482, allocations: 0.654 MB / 306.4 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1482, allocations: 192 / 306.4 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.1483, allocations: 16.81 kB / 306.4 MB, free: 11.58 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.1483, allocations: 16.69 kB / 306.4 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007789/0.1491, allocations: 0.4984 MB / 306.9 MB, free: 11.45 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.001571/0.1506, allocations: 1.237 MB / 308.2 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007019/0.1513, allocations: 392.5 kB / 308.5 MB, free: 10.58 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003075/0.1516, allocations: 222.5 kB / 308.8 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.1517, allocations: 11.19 kB / 308.8 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.1517, allocations: 39.89 kB / 308.8 MB, free: 10.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=40): time 1.403e-06/0.1517, allocations: 3.094 kB / 308.8 MB, free: 10.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.002643/0.1543, allocations: 1.211 MB / 310 MB, free: 10.17 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.1544, allocations: 163 kB / 310.2 MB, free: 9.977 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.1546, allocations: 268.3 kB / 310.4 MB, free: 9.824 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.1546, allocations: 34.17 kB / 310.5 MB, free: 9.789 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.378e-05/0.1547, allocations: 210.7 kB / 310.7 MB, free: 9.613 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.244e-05/0.1547, allocations: 140.2 kB / 310.8 MB, free: 9.504 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.936e-05/0.1548, allocations: 78.3 kB / 310.9 MB, free: 9.457 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.432e-05/0.1549, allocations: 340.9 kB / 311.2 MB, free: 9.133 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.1552, allocations: 184.6 kB / 311.4 MB, free: 9.078 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.1555, allocations: 385.9 kB / 311.8 MB, free: 8.797 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005798/0.1561, allocations: 425.3 kB / 312.2 MB, free: 8.605 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1561, allocations: 0 / 312.2 MB, free: 8.605 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001003/0.1571, allocations: 0.6724 MB / 312.9 MB, free: 8.371 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1571, allocations: 7.625 kB / 312.9 MB, free: 8.371 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1571, allocations: 2 kB / 312.9 MB, free: 8.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007289/0.1579, allocations: 320.6 kB / 313.2 MB, free: 8.297 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.1581, allocations: 85.19 kB / 313.3 MB, free: 8.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006433/0.1587, allocations: 1.345 MB / 314.6 MB, free: 7.113 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.1589, allocations: 86.48 kB / 314.7 MB, free: 7.078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.159, allocations: 15.19 kB / 314.7 MB, free: 7.078 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.0001233/0.1591, allocations: 158 kB / 314.9 MB, free: 6.934 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.1591, allocations: 40.2 kB / 314.9 MB, free: 6.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.1604, allocations: 0.718 MB / 315.6 MB, free: 6.656 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1604, allocations: 8.469 kB / 315.6 MB, free: 6.652 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1604, allocations: 5.719 kB / 315.6 MB, free: 6.648 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1604, allocations: 2.062 kB / 315.6 MB, free: 6.648 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.1608, allocations: 369.3 kB / 316 MB, free: 6.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1608, allocations: 0 / 316 MB, free: 6.402 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.161, allocations: 59.78 kB / 316.1 MB, free: 6.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006988/0.1617, allocations: 324.8 kB / 316.4 MB, free: 6.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.1617, allocations: 11.38 kB / 316.4 MB, free: 6.312 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006683/0.1623, allocations: 1.358 MB / 317.8 MB, free: 5.137 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1624, allocations: 0 / 317.8 MB, free: 5.137 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.1638, allocations: 1.01 MB / 318.8 MB, free: 4.715 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.1638, allocations: 40.89 kB / 318.8 MB, free: 4.688 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.1639, allocations: 14.25 kB / 318.8 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.164, allocations: 42.3 kB / 318.9 MB, free: 4.672 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.1641, allocations: 27.59 kB / 318.9 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.1641, allocations: 16.66 kB / 318.9 MB, free: 4.656 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001284/0.1643, allocations: 191.1 kB / 319.1 MB, free: 4.551 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1643, allocations: 0 / 319.1 MB, free: 4.551 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002671/0.1645, allocations: 108.6 kB / 319.2 MB, free: 4.527 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.001641/0.1662, allocations: 1.565 MB / 320.8 MB, free: 3.566 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008332/0.167, allocations: 462.5 kB / 321.2 MB, free: 3.438 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.167, allocations: 1.469 kB / 321.2 MB, free: 3.438 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003655/0.1674, allocations: 246 kB / 321.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.1676, allocations: 49.23 kB / 321.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004214/0.1719, allocations: 3.991 MB / 325.5 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.172, allocations: 186.6 kB / 325.7 MB, free: 484 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.134e-05/0.1721, allocations: 38.41 kB / 325.7 MB, free: 464 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.51e-05/0.1722, allocations: 122.2 kB / 325.8 MB, free: 356 kB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1722, allocations: 0 / 325.8 MB, free: 356 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.1949, allocations: 9.319 MB / 335.2 MB, free: 8.781 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/7.919, allocations: 15.98 kB / 335.2 MB, free: 8.766 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter_fmu --startTime=0 --stopTime=5 --stepSize=0.000989903 --timeout=50 --tolerance=1e-06 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.47684062924236] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'HeatCapacitor1.T'] 8.01352753303945 8.022981189 7.875266669 Calling exit ...