Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001772/0.001772, allocations: 108.6 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002186/0.002186, allocations: 219 kB / 23 MB, free: 5.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.402/1.402, allocations: 230.5 MB / 256.5 MB, free: 8.238 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 71.83 kB / 376.2 MB, free: 4.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2376, allocations: 53.31 MB / 429.5 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3981/0.6357, allocations: 152.7 MB / 0.5685 GB, free: 13.19 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.6377, allocations: 2.564 MB / 0.571 GB, free: 13 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.336e-05/0.6378, allocations: 0 / 0.571 GB, free: 13 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.6379, allocations: 25.34 kB / 0.5711 GB, free: 13 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008122/0.6387, allocations: 336.3 kB / 0.5714 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.6389, allocations: 65.34 kB / 0.5714 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.639, allocations: 105.6 kB / 0.5715 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.639, allocations: 3.391 kB / 0.5715 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.382e-05/0.6391, allocations: 42.52 kB / 0.5716 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.494e-05/0.6392, allocations: 40.03 kB / 0.5716 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.6392, allocations: 1.812 kB / 0.5716 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006346/0.6398, allocations: 371.2 kB / 0.572 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.6399, allocations: 10.81 kB / 0.572 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.6399, allocations: 38.55 kB / 0.572 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.6403, allocations: 318.7 kB / 0.5723 GB, free: 12.8 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6403, allocations: 4.547 kB / 0.5723 GB, free: 12.8 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6403, allocations: 6.344 kB / 0.5723 GB, free: 12.8 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.6403, allocations: 0 / 0.5723 GB, free: 12.8 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008616/0.6412, allocations: 463.6 kB / 0.5728 GB, free: 12.4 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.6412, allocations: 7.125 kB / 0.5728 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/0.6413, allocations: 39.55 kB / 0.5728 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005892/0.6472, allocations: 465.4 kB / 0.5733 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.6473, allocations: 180.2 kB / 0.5734 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.6473, allocations: 6.25 kB / 0.5735 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.763e-05/0.6474, allocations: 8.219 kB / 0.5735 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007019/0.6481, allocations: 293 kB / 0.5737 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.6481, allocations: 8.109 kB / 0.5737 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.6482, allocations: 7.25 kB / 0.5738 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.6482, allocations: 2.719 kB / 0.5738 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007497/0.6489, allocations: 273.4 kB / 0.574 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.6492, allocations: 253 kB / 0.5743 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000381/0.6496, allocations: 158.2 kB / 0.5744 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.6498, allocations: 80.17 kB / 0.5745 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.6498, allocations: 2.344 kB / 0.5745 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.6498, allocations: 37.25 kB / 0.5745 GB, free: 11.8 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.673e-06/0.6498, allocations: 0 / 0.5745 GB, free: 11.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.00201/0.6519, allocations: 0.5852 MB / 0.5751 GB, free: 11.72 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.6519, allocations: 54.19 kB / 0.5751 GB, free: 11.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.765e-05/0.652, allocations: 110.4 kB / 0.5753 GB, free: 11.56 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.652, allocations: 29.78 kB / 0.5753 GB, free: 11.53 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.6521, allocations: 86.44 kB / 0.5754 GB, free: 11.45 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.789e-05/0.6521, allocations: 86.78 kB / 0.5754 GB, free: 11.39 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.1e-05/0.6522, allocations: 49.3 kB / 0.5755 GB, free: 11.37 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.6524, allocations: 321.3 kB / 0.5758 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.6526, allocations: 96.44 kB / 0.5759 GB, free: 11.06 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/0.6529, allocations: 103.9 kB / 0.576 GB, free: 11.06 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005586/0.6535, allocations: 229.4 kB / 0.5762 GB, free: 11.04 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.6535, allocations: 3.062 kB / 0.5762 GB, free: 11.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006759/0.6541, allocations: 286.9 kB / 0.5765 GB, free: 10.99 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.6542, allocations: 5.406 kB / 0.5765 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.6542, allocations: 3.766 kB / 0.5765 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.6542, allocations: 3.938 kB / 0.5765 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/0.6546, allocations: 54.14 kB / 0.5765 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.6546, allocations: 0 / 0.5765 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.6548, allocations: 13.5 kB / 0.5766 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/0.6549, allocations: 19.89 kB / 0.5766 GB, free: 10.98 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.655, allocations: 118.8 kB / 0.5767 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.655, allocations: 11.95 kB / 0.5767 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008562/0.6559, allocations: 354.7 kB / 0.577 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.6559, allocations: 6.719 kB / 0.577 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6559, allocations: 3.031 kB / 0.5771 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.6559, allocations: 3.547 kB / 0.5771 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.6573, allocations: 0.728 MB / 0.5778 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6573, allocations: 0 / 0.5778 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000375/0.6577, allocations: 58.12 kB / 0.5778 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.6577, allocations: 3.344 kB / 0.5778 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.6577, allocations: 10.89 kB / 0.5778 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.6577, allocations: 4.688 kB / 0.5778 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6577, allocations: 3.938 kB / 0.5778 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007404/0.6585, allocations: 416.2 kB / 0.5782 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.516e-05/0.6585, allocations: 90.83 kB / 0.5783 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.6585, allocations: 8.344 kB / 0.5783 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/0.6588, allocations: 14.89 kB / 0.5783 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.6589, allocations: 22.61 kB / 0.5784 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.6589, allocations: 15.66 kB / 0.5784 GB, free: 10.12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.3e-05/0.659, allocations: 87.45 kB / 0.5785 GB, free: 10.05 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.659, allocations: 0 / 0.5785 GB, free: 10.05 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000336/0.6593, allocations: 61.67 kB / 0.5785 GB, free: 10.04 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001181/0.6605, allocations: 0.9575 MB / 0.5795 GB, free: 9.324 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006699/0.6612, allocations: 242.8 kB / 0.5797 GB, free: 9.309 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6612, allocations: 0 / 0.5797 GB, free: 9.309 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.6615, allocations: 137.5 kB / 0.5798 GB, free: 9.293 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.662, allocations: 53.98 kB / 0.5799 GB, free: 9.285 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/0.6652, allocations: 2.12 MB / 0.5819 GB, free: 7.973 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.6655, allocations: 0.7068 MB / 0.5826 GB, free: 7.273 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002853/0.6658, allocations: 54.12 kB / 0.5827 GB, free: 7.246 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.666, allocations: 52.02 kB / 0.5827 GB, free: 7.234 MB / 462.1 MB Notification: Performance of SimCode: time 5.01e-07/0.666, allocations: 0 / 0.5827 GB, free: 7.234 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.6935, allocations: 5.668 MB / 0.5883 GB, free: 4.406 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.012/8.705, allocations: 3.938 kB / 0.5883 GB, free: 4.402 MB / 462.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.91851035002037] Failed to read output from testmodel.py, exit status != 0: ['time', 'smoothState.p', 'der_p', 'der_T'] 8.776177628984442 8.796083244 8.15140627 Calling exit ...