Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.001351/0.001351, allocations: 119.6 kB / 18.45 MB, free: 4.613 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.001375/0.001375, allocations: 205.7 kB / 21.41 MB, free: 1.66 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.47/1.47, allocations: 227.4 MB / 251.7 MB, free: 88 kB / 190.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.2275/0.2275, allocations: 46.15 MB / 351.1 MB, free: 14.33 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.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",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.002295/0.002296, allocations: 78.09 kB / 489.7 MB, free: 28.36 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1377, allocations: 62.45 MB / 0.5392 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007353/0.1451, allocations: 5.027 MB / 0.5441 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005439/0.1506, allocations: 4.563 MB / 0.5486 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.1508, allocations: 4 kB / 0.5486 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.1512, allocations: 59.58 kB / 0.5486 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.1531, allocations: 0.6681 MB / 0.5493 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.1535, allocations: 158.5 kB / 0.5494 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005756/0.1541, allocations: 374 kB / 0.5498 GB, free: 9.875 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.506e-05/0.1542, allocations: 9.688 kB / 0.5498 GB, free: 9.867 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/0.1544, allocations: 147.5 kB / 0.5499 GB, free: 9.723 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.1547, allocations: 139.4 kB / 0.5501 GB, free: 9.586 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.386e-05/0.1547, allocations: 8 kB / 0.5501 GB, free: 9.578 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009156/0.1556, allocations: 351.6 kB / 0.5504 GB, free: 9.234 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.52e-05/0.1557, allocations: 43.88 kB / 0.5505 GB, free: 9.191 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.1559, allocations: 103.5 kB / 0.5506 GB, free: 9.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000773/0.1567, allocations: 446.8 kB / 0.551 GB, free: 8.652 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1567, allocations: 0 / 0.551 GB, free: 8.652 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1567, allocations: 0 / 0.551 GB, free: 8.652 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.1567, allocations: 0 / 0.551 GB, free: 8.652 MB / 414.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.001112/0.1578, allocations: 0.5999 MB / 0.5516 GB, free: 8.004 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.1579, allocations: 8.031 kB / 0.5516 GB, free: 7.996 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.519e-05/0.158, allocations: 62.73 kB / 0.5516 GB, free: 7.926 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.1581, allocations: 28.83 kB / 0.5517 GB, free: 7.898 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.1585, allocations: 224.1 kB / 0.5519 GB, free: 7.641 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.1587, allocations: 127.9 kB / 0.552 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.1587, allocations: 24.12 kB / 0.552 GB, free: 7.469 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005504/0.1593, allocations: 319.7 kB / 0.5523 GB, free: 7.129 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.1593, allocations: 7.938 kB / 0.5523 GB, free: 7.121 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.1594, allocations: 15.92 kB / 0.5523 GB, free: 7.105 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.1594, allocations: 8 kB / 0.5524 GB, free: 7.098 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009224/0.1603, allocations: 0.7391 MB / 0.5531 GB, free: 6.355 MB / 414.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.001522/0.1618, allocations: 1.249 MB / 0.5543 GB, free: 5.004 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.1622, allocations: 146.8 kB / 0.5544 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.1623, allocations: 72.83 kB / 0.5545 GB, free: 4.777 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002717/0.1651, allocations: 2.667 MB / 0.5571 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.1651, allocations: 34.5 kB / 0.5571 GB, free: 1.555 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 2.625e-06/0.1651, allocations: 0 / 0.5571 GB, free: 1.555 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008135/0.166, allocations: 228 kB / 0.5574 GB, free: 1.328 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.166, allocations: 59.34 kB / 0.5574 GB, free: 1.258 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.1663, allocations: 214.8 kB / 0.5576 GB, free: 1.039 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.1663, allocations: 33.7 kB / 0.5577 GB, free: 1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.1665, allocations: 211.6 kB / 0.5579 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.806e-05/0.1666, allocations: 59.52 kB / 0.5579 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.1667, allocations: 86.03 kB / 0.558 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1669, allocations: 330.8 kB / 0.5583 GB, free: 316 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.534e-05/0.167, allocations: 52.83 kB / 0.5584 GB, free: 260 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/0.1674, allocations: 316.1 kB / 0.5587 GB, free: 15.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005334/0.1679, allocations: 407.5 kB / 0.5591 GB, free: 15.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1679, allocations: 7.938 kB / 0.5591 GB, free: 15.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006091/0.1686, allocations: 377.5 kB / 0.5594 GB, free: 14.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.1686, allocations: 8 kB / 0.5594 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.1686, allocations: 8 kB / 0.5594 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.973e-05/0.1686, allocations: 15.94 kB / 0.5595 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/0.169, allocations: 111.8 kB / 0.5596 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.981e-05/0.169, allocations: 15.94 kB / 0.5596 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.1692, allocations: 16 kB / 0.5596 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.813e-05/0.1693, allocations: 32.3 kB / 0.5596 GB, free: 14.71 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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.0001451/0.1695, allocations: 149.6 kB / 0.5598 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/0.1695, allocations: 19.91 kB / 0.5598 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003327/0.1699, allocations: 155 kB / 0.5599 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.1699, allocations: 3.938 kB / 0.5599 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.1699, allocations: 0 / 0.5599 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1699, allocations: 3.938 kB / 0.5599 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005903/0.1705, allocations: 435.2 kB / 0.5603 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1705, allocations: 3.938 kB / 0.5604 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.1707, allocations: 31.98 kB / 0.5604 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1707, allocations: 4.031 kB / 0.5604 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.1707, allocations: 7.984 kB / 0.5604 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1707, allocations: 0 / 0.5604 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.1707, allocations: 0 / 0.5604 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.171, allocations: 223.3 kB / 0.5606 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.1711, allocations: 100.9 kB / 0.5607 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.1711, allocations: 8 kB / 0.5607 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.1713, allocations: 11.98 kB / 0.5607 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.1714, allocations: 11.98 kB / 0.5607 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.1714, allocations: 4 kB / 0.5607 GB, free: 13.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001548/0.1716, allocations: 148.5 kB / 0.5609 GB, free: 13.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1716, allocations: 4 kB / 0.5609 GB, free: 13.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005511/0.1721, allocations: 95.88 kB / 0.561 GB, free: 13.2 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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.0009066/0.173, allocations: 0.8262 MB / 0.5618 GB, free: 12.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003734/0.1734, allocations: 182.1 kB / 0.562 GB, free: 12.17 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1734, allocations: 0 / 0.562 GB, free: 12.17 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.526e-05/0.1735, allocations: 39.92 kB / 0.562 GB, free: 12.13 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.174, allocations: 51.09 kB / 0.562 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.1772, allocations: 2.7 MB / 0.5647 GB, free: 9.039 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.1776, allocations: 0.7323 MB / 0.5654 GB, free: 8.281 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002245/0.1779, allocations: 58.78 kB / 0.5655 GB, free: 8.223 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.178, allocations: 59.42 kB / 0.5655 GB, free: 8.164 MB / 430.1 MB Notification: Performance of SimCode: time 1.142e-06/0.178, allocations: 4 kB / 0.5655 GB, free: 8.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.2062, allocations: 5.637 MB / 0.571 GB, free: 2.672 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.244, allocations: 12.11 kB / 0.571 GB, free: 2.668 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.236015007132664] 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.313642053166404 8.328320471 8.16893105 Calling exit ...