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.001357/0.001357, allocations: 108.2 kB / 20.22 MB, free: 1.812 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.002027/0.002027, allocations: 221.5 kB / 23.48 MB, free: 5.254 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.424/1.424, allocations: 230.2 MB / 256.8 MB, free: 8.578 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.2578/0.2578, allocations: 46.9 MB / 360 MB, free: 4.734 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.00243/0.00243, allocations: 87.86 kB / 0.4951 GB, free: 8.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3073, allocations: 65.99 MB / 0.5596 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03549/0.3428, allocations: 27.14 MB / 0.5861 GB, free: 9.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003777/0.3466, allocations: 2.975 MB / 0.589 GB, free: 6.766 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.3468, allocations: 4 kB / 0.589 GB, free: 6.762 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.3471, allocations: 51.66 kB / 0.589 GB, free: 6.711 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002059/0.3491, allocations: 0.7305 MB / 0.5897 GB, free: 5.977 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.3495, allocations: 131 kB / 0.5899 GB, free: 5.852 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006499/0.3501, allocations: 378.1 kB / 0.5902 GB, free: 5.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.361e-05/0.3502, allocations: 5.688 kB / 0.5902 GB, free: 5.477 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04388/0.3941, allocations: 15.51 MB / 0.6054 GB, free: 5.836 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004332/0.3945, allocations: 159.3 kB / 0.6055 GB, free: 5.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.874e-05/0.3946, allocations: 8 kB / 0.6055 GB, free: 5.672 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009814/0.4044, allocations: 3.467 MB / 0.6089 GB, free: 2.168 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.4045, allocations: 39.83 kB / 0.609 GB, free: 2.129 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.4047, allocations: 111.4 kB / 0.6091 GB, free: 2.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.4061, allocations: 466.6 kB / 0.6095 GB, free: 1.562 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4061, allocations: 0 / 0.6095 GB, free: 1.562 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4061, allocations: 0 / 0.6095 GB, free: 1.562 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.4061, allocations: 0 / 0.6095 GB, free: 1.562 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.001301/0.4074, allocations: 0.6078 MB / 0.6101 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.4074, allocations: 12.03 kB / 0.6101 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.886e-05/0.4075, allocations: 58.67 kB / 0.6102 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.4077, allocations: 28.8 kB / 0.6102 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.4081, allocations: 224.1 kB / 0.6104 GB, free: 0.543 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.4082, allocations: 127.9 kB / 0.6105 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.4082, allocations: 31.86 kB / 0.6106 GB, free: 372 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005605/0.4088, allocations: 323.6 kB / 0.6109 GB, free: 20 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.4088, allocations: 0 / 0.6109 GB, free: 20 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.4088, allocations: 16 kB / 0.6109 GB, free: 4 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.275e-05/0.4089, allocations: 12.05 kB / 0.6109 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009804/0.4099, allocations: 0.7351 MB / 0.6116 GB, free: 15.26 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.001571/0.4114, allocations: 1.308 MB / 0.6129 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.4118, allocations: 159.7 kB / 0.6131 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.412, allocations: 77.48 kB / 0.6131 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003112/0.4151, allocations: 2.806 MB / 0.6159 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.4151, allocations: 34.56 kB / 0.6159 GB, free: 10.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.4151, allocations: 0 / 0.6159 GB, free: 10.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003169/0.4154, allocations: 117.8 kB / 0.616 GB, free: 10.08 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.4155, allocations: 55.41 kB / 0.6161 GB, free: 10.02 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.4157, allocations: 227.5 kB / 0.6163 GB, free: 9.785 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.4158, allocations: 33.7 kB / 0.6163 GB, free: 9.746 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.4159, allocations: 223.3 kB / 0.6165 GB, free: 9.523 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.416, allocations: 43.69 kB / 0.6166 GB, free: 9.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.4161, allocations: 86.03 kB / 0.6166 GB, free: 9.391 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4162, allocations: 326.8 kB / 0.617 GB, free: 9.062 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.277e-05/0.4163, allocations: 48.83 kB / 0.617 GB, free: 9.016 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/0.4166, allocations: 347.2 kB / 0.6173 GB, free: 8.531 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005275/0.4171, allocations: 440.6 kB / 0.6178 GB, free: 7.953 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.4172, allocations: 4 kB / 0.6178 GB, free: 7.949 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005972/0.4178, allocations: 381.6 kB / 0.6181 GB, free: 7.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.4178, allocations: 8 kB / 0.6181 GB, free: 7.562 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.4178, allocations: 15.94 kB / 0.6181 GB, free: 7.547 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-05/0.4178, allocations: 12 kB / 0.6182 GB, free: 7.535 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.4181, allocations: 103.8 kB / 0.6183 GB, free: 7.434 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.532e-05/0.4181, allocations: 23.86 kB / 0.6183 GB, free: 7.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.4183, allocations: 59.62 kB / 0.6183 GB, free: 7.352 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.4184, allocations: 28 kB / 0.6184 GB, free: 7.324 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.0001473/0.4185, allocations: 149.9 kB / 0.6185 GB, free: 7.168 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/0.4186, allocations: 23.86 kB / 0.6185 GB, free: 7.145 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.4189, allocations: 160.5 kB / 0.6187 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.4189, allocations: 0 / 0.6187 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4189, allocations: 0 / 0.6187 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4189, allocations: 0 / 0.6187 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006459/0.4196, allocations: 412.8 kB / 0.6191 GB, free: 6.504 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4196, allocations: 0 / 0.6191 GB, free: 6.504 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.219e-05/0.4196, allocations: 16 kB / 0.6191 GB, free: 6.488 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.4196, allocations: 8.094 kB / 0.6191 GB, free: 6.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.4196, allocations: 0 / 0.6191 GB, free: 6.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4196, allocations: 0 / 0.6191 GB, free: 6.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.4197, allocations: 7.938 kB / 0.6191 GB, free: 6.473 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.4199, allocations: 205.8 kB / 0.6193 GB, free: 6.246 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.72e-05/0.42, allocations: 104.9 kB / 0.6194 GB, free: 6.125 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.4201, allocations: 3.938 kB / 0.6194 GB, free: 6.121 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.4202, allocations: 8 kB / 0.6194 GB, free: 6.113 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.4202, allocations: 7.984 kB / 0.6194 GB, free: 6.105 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.4203, allocations: 4 kB / 0.6194 GB, free: 6.102 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.4204, allocations: 156.5 kB / 0.6196 GB, free: 5.949 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4204, allocations: 0 / 0.6196 GB, free: 5.949 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005067/0.4209, allocations: 91.88 kB / 0.6197 GB, free: 5.859 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.0007281/0.4216, allocations: 0.8008 MB / 0.6204 GB, free: 5.023 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003209/0.4219, allocations: 165.9 kB / 0.6206 GB, free: 4.863 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4219, allocations: 0 / 0.6206 GB, free: 4.863 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.508e-05/0.422, allocations: 28.55 kB / 0.6206 GB, free: 4.836 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.4224, allocations: 48.64 kB / 0.6207 GB, free: 4.789 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/0.4258, allocations: 2.812 MB / 0.6234 GB, free: 1.582 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.4262, allocations: 0.7245 MB / 0.6241 GB, free: 0.832 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002027/0.4264, allocations: 54.86 kB / 0.6242 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.4265, allocations: 59.42 kB / 0.6242 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4265, allocations: 0 / 0.6242 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03021/0.4567, allocations: 5.252 MB / 0.6294 GB, free: 11.54 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.102/8.559, allocations: 18.45 kB / 0.6294 GB, free: 11.52 MB / 478.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 & /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.327159015927464] 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.62894637696445 8.645219227 8.23568169 Calling exit ...