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.001537/0.001537, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.001855/0.001855, allocations: 205 kB / 21.45 MB, free: 1.629 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.474/1.474, allocations: 230.4 MB / 254.7 MB, free: 15.05 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.2472/0.2472, allocations: 46.93 MB / 357.7 MB, free: 10.23 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.002299/0.002299, allocations: 79.86 kB / 0.4917 GB, free: 7.766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.147, allocations: 66.04 MB / 0.5562 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03464/0.1816, allocations: 27.03 MB / 0.5826 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003739/0.1854, allocations: 2.952 MB / 0.5855 GB, free: 7.484 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.1855, allocations: 0 / 0.5855 GB, free: 7.484 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003227/0.1858, allocations: 59.58 kB / 0.5855 GB, free: 7.426 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.188, allocations: 0.7305 MB / 0.5862 GB, free: 6.691 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.1884, allocations: 150 kB / 0.5864 GB, free: 6.551 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005937/0.189, allocations: 366.1 kB / 0.5867 GB, free: 6.191 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.318e-05/0.189, allocations: 5.688 kB / 0.5867 GB, free: 6.188 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3518/0.5408, allocations: 15.52 MB / 0.6019 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003842/0.5412, allocations: 146.3 kB / 0.602 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.78e-05/0.5413, allocations: 8 kB / 0.602 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007989/0.5492, allocations: 3.463 MB / 0.6054 GB, free: 4.555 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.5494, allocations: 43.7 kB / 0.6055 GB, free: 4.555 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.5495, allocations: 108.4 kB / 0.6056 GB, free: 4.555 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009495/0.5505, allocations: 472.3 kB / 0.606 GB, free: 4.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5505, allocations: 0 / 0.606 GB, free: 4.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5505, allocations: 9.141 kB / 0.606 GB, free: 4.516 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.5505, allocations: 0 / 0.606 GB, free: 4.516 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.001091/0.5516, allocations: 0.6038 MB / 0.6066 GB, free: 4.074 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.5516, allocations: 9.25 kB / 0.6066 GB, free: 4.074 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.294e-05/0.5517, allocations: 63.48 kB / 0.6067 GB, free: 4.031 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.5519, allocations: 31.06 kB / 0.6067 GB, free: 4.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.5522, allocations: 226.9 kB / 0.6069 GB, free: 3.816 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.5523, allocations: 124.8 kB / 0.6071 GB, free: 3.688 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.5523, allocations: 21.44 kB / 0.6071 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005692/0.5529, allocations: 326.2 kB / 0.6074 GB, free: 3.586 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.5529, allocations: 0.5938 kB / 0.6074 GB, free: 3.586 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.5529, allocations: 14 kB / 0.6074 GB, free: 3.586 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/0.553, allocations: 6.906 kB / 0.6074 GB, free: 3.586 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.554, allocations: 0.7372 MB / 0.6081 GB, free: 3.586 MB / 446.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.001155/0.5552, allocations: 1.296 MB / 0.6094 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003341/0.5555, allocations: 157.4 kB / 0.6095 GB, free: 2.543 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.5556, allocations: 78.41 kB / 0.6096 GB, free: 2.535 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002093/0.5577, allocations: 2.815 MB / 0.6124 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.5578, allocations: 35.92 kB / 0.6124 GB, free: 15.61 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 2.004e-06/0.5578, allocations: 4.5 kB / 0.6124 GB, free: 15.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003182/0.5581, allocations: 121.8 kB / 0.6125 GB, free: 15.56 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.5581, allocations: 53.42 kB / 0.6126 GB, free: 15.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.5584, allocations: 224.3 kB / 0.6128 GB, free: 15.39 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.5584, allocations: 25.7 kB / 0.6128 GB, free: 15.36 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.5586, allocations: 224.4 kB / 0.613 GB, free: 15.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.5586, allocations: 49.55 kB / 0.6131 GB, free: 15.15 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.5587, allocations: 88.5 kB / 0.6132 GB, free: 15.13 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.5589, allocations: 331.4 kB / 0.6135 GB, free: 14.81 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.578e-05/0.559, allocations: 44.59 kB / 0.6135 GB, free: 14.81 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/0.5593, allocations: 341.8 kB / 0.6138 GB, free: 14.42 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004927/0.5598, allocations: 447 kB / 0.6143 GB, free: 14.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.5598, allocations: 2.344 kB / 0.6143 GB, free: 14.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005551/0.5604, allocations: 385.4 kB / 0.6146 GB, free: 13.97 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.5604, allocations: 9.859 kB / 0.6147 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.5604, allocations: 11.72 kB / 0.6147 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.191e-05/0.5605, allocations: 18.44 kB / 0.6147 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.5607, allocations: 99.05 kB / 0.6148 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.18e-05/0.5607, allocations: 24.02 kB / 0.6148 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.561, allocations: 54.78 kB / 0.6148 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/0.561, allocations: 28.52 kB / 0.6149 GB, free: 13.94 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.0001475/0.5612, allocations: 151.2 kB / 0.615 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.344e-05/0.5612, allocations: 18.62 kB / 0.615 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.5615, allocations: 151.9 kB / 0.6152 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.5615, allocations: 1.281 kB / 0.6152 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.5616, allocations: 4.062 kB / 0.6152 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5616, allocations: 1.484 kB / 0.6152 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005233/0.5621, allocations: 412.9 kB / 0.6156 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.5621, allocations: 5.094 kB / 0.6156 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.898e-05/0.5621, allocations: 16.12 kB / 0.6156 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.5621, allocations: 4.938 kB / 0.6156 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.5622, allocations: 2.125 kB / 0.6156 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5622, allocations: 1.953 kB / 0.6156 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5622, allocations: 2.062 kB / 0.6156 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.5624, allocations: 210.2 kB / 0.6158 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.092e-05/0.5625, allocations: 94.8 kB / 0.6159 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.5625, allocations: 10.98 kB / 0.6159 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.5627, allocations: 5.172 kB / 0.6159 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.391e-05/0.5627, allocations: 6.078 kB / 0.6159 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.5627, allocations: 9.156 kB / 0.6159 GB, free: 13.13 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.5628, allocations: 155.7 kB / 0.6161 GB, free: 13.05 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5628, allocations: 0 / 0.6161 GB, free: 13.05 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005387/0.5634, allocations: 95.89 kB / 0.6162 GB, free: 13.04 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.0007327/0.5641, allocations: 0.8027 MB / 0.617 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002949/0.5644, allocations: 164.7 kB / 0.6171 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5644, allocations: 5.156 kB / 0.6171 GB, free: 12.33 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/0.5645, allocations: 18.78 kB / 0.6171 GB, free: 12.33 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.5649, allocations: 44.06 kB / 0.6172 GB, free: 12.33 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003189/0.5681, allocations: 2.813 MB / 0.6199 GB, free: 10.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.5684, allocations: 0.7247 MB / 0.6206 GB, free: 9.484 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001876/0.5686, allocations: 57.06 kB / 0.6207 GB, free: 9.465 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.579e-05/0.5687, allocations: 61.67 kB / 0.6207 GB, free: 9.461 MB / 462.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5687, allocations: 1.031 kB / 0.6207 GB, free: 9.461 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.5982, allocations: 5.292 MB / 0.6259 GB, free: 8.766 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.967/8.565, allocations: 12.12 kB / 0.6259 GB, free: 8.758 MB / 462.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9988e-05 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.728041994851083] 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.633570976089686 8.646942996 8.093725711 Calling exit ...