Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.001296/0.001296, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001355/0.001355, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2203/0.2203, allocations: 46.94 MB / 361.6 MB, free: 4.176 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.002312/0.002312, allocations: 79.88 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3372, allocations: 66.09 MB / 0.5615 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03323/0.3704, allocations: 27.14 MB / 0.5881 GB, free: 9.035 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003564/0.3739, allocations: 2.983 MB / 0.591 GB, free: 6.043 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.3741, allocations: 0 / 0.591 GB, free: 6.043 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.3743, allocations: 51.61 kB / 0.591 GB, free: 5.992 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.3762, allocations: 0.7422 MB / 0.5917 GB, free: 5.246 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.3765, allocations: 139.2 kB / 0.5919 GB, free: 5.113 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005897/0.3771, allocations: 382.1 kB / 0.5922 GB, free: 4.738 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.16e-05/0.3771, allocations: 9.75 kB / 0.5922 GB, free: 4.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03534/0.4125, allocations: 15.41 MB / 0.6073 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004306/0.4129, allocations: 159.4 kB / 0.6074 GB, free: 5.055 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.45e-05/0.4129, allocations: 8 kB / 0.6075 GB, free: 5.047 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007256/0.4202, allocations: 3.422 MB / 0.6108 GB, free: 1.594 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.435e-05/0.4203, allocations: 51.8 kB / 0.6108 GB, free: 1.543 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.4204, allocations: 99.53 kB / 0.6109 GB, free: 1.445 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009018/0.4213, allocations: 474.5 kB / 0.6114 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4213, allocations: 0 / 0.6114 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4213, allocations: 0 / 0.6114 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.4213, allocations: 0 / 0.6114 GB, free: 0.9805 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001179/0.4225, allocations: 0.5246 MB / 0.6119 GB, free: 436 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.4226, allocations: 12.03 kB / 0.6119 GB, free: 424 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.172e-05/0.4226, allocations: 62.72 kB / 0.612 GB, free: 352 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.4228, allocations: 28.8 kB / 0.612 GB, free: 324 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.4231, allocations: 170.2 kB / 0.6122 GB, free: 128 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/0.4233, allocations: 238.6 kB / 0.6124 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.4233, allocations: 23.94 kB / 0.6124 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005377/0.4238, allocations: 334.8 kB / 0.6127 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4239, allocations: 0 / 0.6127 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.4239, allocations: 12 kB / 0.6127 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.4239, allocations: 12 kB / 0.6128 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008811/0.4248, allocations: 0.7547 MB / 0.6135 GB, free: 14.69 MB / 462.1 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.001461/0.4263, allocations: 1.28 MB / 0.6147 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003588/0.4266, allocations: 155.7 kB / 0.6149 GB, free: 13.13 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.4268, allocations: 81.48 kB / 0.615 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001475/0.4282, allocations: 0.7348 MB / 0.6157 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.4283, allocations: 30.56 kB / 0.6157 GB, free: 12.25 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.4283, allocations: 0 / 0.6157 GB, free: 12.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003067/0.4286, allocations: 121.4 kB / 0.6158 GB, free: 12.13 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.4286, allocations: 51.41 kB / 0.6159 GB, free: 12.07 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.4288, allocations: 224.9 kB / 0.6161 GB, free: 11.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.4289, allocations: 29.7 kB / 0.6161 GB, free: 11.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.429, allocations: 227.5 kB / 0.6163 GB, free: 11.58 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.429, allocations: 39.69 kB / 0.6164 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.861e-05/0.4291, allocations: 90.03 kB / 0.6165 GB, free: 11.45 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.4293, allocations: 326.8 kB / 0.6168 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.352e-05/0.4294, allocations: 52.78 kB / 0.6168 GB, free: 11.07 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.4297, allocations: 347.2 kB / 0.6172 GB, free: 10.58 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004577/0.4301, allocations: 444.6 kB / 0.6176 GB, free: 10 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4301, allocations: 0 / 0.6176 GB, free: 10 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005579/0.4307, allocations: 381.8 kB / 0.6179 GB, free: 9.621 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.4307, allocations: 11.94 kB / 0.618 GB, free: 9.609 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.4307, allocations: 19.92 kB / 0.618 GB, free: 9.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.4307, allocations: 12 kB / 0.618 GB, free: 9.578 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.431, allocations: 99.78 kB / 0.6181 GB, free: 9.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/0.431, allocations: 19.92 kB / 0.6181 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.4312, allocations: 59.56 kB / 0.6182 GB, free: 9.402 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.4313, allocations: 28 kB / 0.6182 GB, free: 9.375 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001304/0.4314, allocations: 153.8 kB / 0.6183 GB, free: 9.215 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/0.4315, allocations: 19.86 kB / 0.6184 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.4317, allocations: 148.9 kB / 0.6185 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.4317, allocations: 4 kB / 0.6185 GB, free: 9.035 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4317, allocations: 4 kB / 0.6185 GB, free: 9.031 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4318, allocations: 0 / 0.6185 GB, free: 9.031 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004599/0.4322, allocations: 383.9 kB / 0.6189 GB, free: 8.598 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4322, allocations: 0 / 0.6189 GB, free: 8.598 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.724e-05/0.4323, allocations: 12 kB / 0.6189 GB, free: 8.586 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4323, allocations: 0 / 0.6189 GB, free: 8.586 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.4323, allocations: 8.094 kB / 0.6189 GB, free: 8.578 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.4323, allocations: 4 kB / 0.6189 GB, free: 8.574 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4323, allocations: 0 / 0.6189 GB, free: 8.574 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.4325, allocations: 209.8 kB / 0.6191 GB, free: 8.344 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.914e-05/0.4325, allocations: 23.83 kB / 0.6191 GB, free: 8.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.4326, allocations: 8 kB / 0.6191 GB, free: 8.312 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.4327, allocations: 8 kB / 0.6191 GB, free: 8.305 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.4327, allocations: 7.922 kB / 0.6191 GB, free: 8.297 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.4328, allocations: 8.062 kB / 0.6191 GB, free: 8.289 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.4329, allocations: 156.5 kB / 0.6193 GB, free: 8.137 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4329, allocations: 0 / 0.6193 GB, free: 8.137 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004673/0.4334, allocations: 95.83 kB / 0.6194 GB, free: 8.043 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0006536/0.434, allocations: 0.7968 MB / 0.6202 GB, free: 7.211 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002936/0.4343, allocations: 166.2 kB / 0.6203 GB, free: 7.051 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4343, allocations: 0 / 0.6203 GB, free: 7.051 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.13e-05/0.4343, allocations: 27.92 kB / 0.6203 GB, free: 7.023 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.4348, allocations: 52.06 kB / 0.6204 GB, free: 6.977 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/0.4379, allocations: 2.816 MB / 0.6231 GB, free: 3.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.4383, allocations: 0.7285 MB / 0.6239 GB, free: 3.016 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001946/0.4384, allocations: 50.92 kB / 0.6239 GB, free: 2.961 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.54e-05/0.4385, allocations: 59.41 kB / 0.624 GB, free: 2.902 MB / 462.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4385, allocations: 0 / 0.624 GB, free: 2.902 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.4658, allocations: 5.482 MB / 0.6293 GB, free: 13.49 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/8.313, allocations: 13.75 kB / 0.6293 GB, free: 13.48 MB / 478.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.117501945700496] Failed to read output from testmodel.py, exit status != 0: ['time', 'eps_h_is', 'eta', 'lambda', 'Pr', 'p', 'T', 'd', 'h', 'u', 's', 'g', 'f', 'cp', 'cp2', 'cv', 'cv2', 'h_is', 'a', 'beta', 'beta2', 'kappa', 'kappa2', 'ddpT', 'ddTp', 'dddX[1]', 'MM', 'h2', 'd2', 'err_T', 'err_d', 'err_u', 's_is', 'err_h_is', 'eps'] 8.40670805517584 8.433523373 8.006952331 Calling exit ...