Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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.001787/0.001787, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002137/0.002137, allocations: 205.6 kB / 23.72 MB, free: 4.391 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.429/1.429, allocations: 230.5 MB / 257.4 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2518/0.2518, allocations: 46.94 MB / 360.8 MB, free: 3.898 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002473/0.002473, allocations: 83.86 kB / 0.4962 GB, free: 7.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3362, allocations: 66.08 MB / 0.5607 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01374/0.3499, allocations: 10.15 MB / 0.5707 GB, free: 9.797 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01354/0.3634, allocations: 10.3 MB / 0.5807 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.3636, allocations: 4 kB / 0.5807 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003537/0.364, allocations: 67.52 kB / 0.5808 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.374, allocations: 3.095 MB / 0.5838 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.3745, allocations: 149.8 kB / 0.5839 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006263/0.3808, allocations: 3.967 MB / 0.5878 GB, free: 8.168 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.59e-05/0.3808, allocations: 16.58 kB / 0.5878 GB, free: 8.156 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.3811, allocations: 151.5 kB / 0.588 GB, free: 8.008 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01059/0.3917, allocations: 7.242 MB / 0.5951 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.171e-05/0.3917, allocations: 11.94 kB / 0.5951 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006766/0.3985, allocations: 2.267 MB / 0.5973 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.3986, allocations: 51.7 kB / 0.5973 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002151/0.3988, allocations: 107.6 kB / 0.5974 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004138/0.403, allocations: 1.711 MB / 0.5991 GB, free: 12.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.403, allocations: 0 / 0.5991 GB, free: 12.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.403, allocations: 0 / 0.5991 GB, free: 12.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.403, allocations: 0 / 0.5991 GB, free: 12.61 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002147/0.4051, allocations: 0.9087 MB / 0.6 GB, free: 11.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.4052, allocations: 12.03 kB / 0.6 GB, free: 11.65 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.307e-05/0.4052, allocations: 58.73 kB / 0.6001 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005635/0.4058, allocations: 80.72 kB / 0.6001 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/0.4062, allocations: 194.1 kB / 0.6003 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.4062, allocations: 21.03 kB / 0.6003 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.71e-05/0.4062, allocations: 24.38 kB / 0.6004 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.4073, allocations: 0.537 MB / 0.6009 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.4073, allocations: 4 kB / 0.6009 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.4073, allocations: 12 kB / 0.6009 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.4073, allocations: 4 kB / 0.6009 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.4085, allocations: 0.6771 MB / 0.6016 GB, free: 9.965 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.006669/0.4152, allocations: 2.607 MB / 0.6041 GB, free: 7.277 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006705/0.4159, allocations: 211.3 kB / 0.6043 GB, free: 7.062 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.416, allocations: 73.33 kB / 0.6044 GB, free: 6.988 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08079/0.4968, allocations: 22.18 MB / 0.626 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009018/0.4977, allocations: 354.5 kB / 0.6264 GB, free: 356 kB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 3.206e-06/0.4977, allocations: 0 / 0.6264 GB, free: 356 kB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002751/0.5004, allocations: 0.8848 MB / 0.6272 GB, free: 15.45 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000304/0.5007, allocations: 478.6 kB / 0.6277 GB, free: 14.88 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.5009, allocations: 162.3 kB / 0.6279 GB, free: 14.71 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.5009, allocations: 34.3 kB / 0.6279 GB, free: 14.67 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.5011, allocations: 164.3 kB / 0.628 GB, free: 14.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.5012, allocations: 134.8 kB / 0.6282 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.5013, allocations: 94.17 kB / 0.6283 GB, free: 14.28 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.5015, allocations: 326.8 kB / 0.6286 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.5016, allocations: 64.95 kB / 0.6286 GB, free: 13.89 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.5019, allocations: 314.2 kB / 0.6289 GB, free: 13.46 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005729/0.5025, allocations: 436 kB / 0.6294 GB, free: 12.92 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.5025, allocations: 4 kB / 0.6294 GB, free: 12.92 MB / 478.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007378/0.5033, allocations: 417.5 kB / 0.6298 GB, free: 12.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.5033, allocations: 12.03 kB / 0.6298 GB, free: 12.49 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.5033, allocations: 11.94 kB / 0.6298 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/0.5033, allocations: 12 kB / 0.6298 GB, free: 12.47 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/0.5052, allocations: 339.5 kB / 0.6301 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008072/0.506, allocations: 1.188 MB / 0.6313 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.5063, allocations: 19.89 kB / 0.6313 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.354e-05/0.5063, allocations: 28 kB / 0.6313 GB, free: 10.86 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002031/0.5065, allocations: 161.8 kB / 0.6315 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.031e-05/0.5066, allocations: 27.86 kB / 0.6315 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/0.5081, allocations: 1.008 MB / 0.6325 GB, free: 9.617 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.5081, allocations: 7.984 kB / 0.6325 GB, free: 9.609 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.5081, allocations: 0 / 0.6325 GB, free: 9.609 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.5081, allocations: 7.984 kB / 0.6325 GB, free: 9.602 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.5096, allocations: 1.105 MB / 0.6336 GB, free: 8.438 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.5096, allocations: 8.062 kB / 0.6336 GB, free: 8.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.5107, allocations: 147.8 kB / 0.6337 GB, free: 8.285 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.5107, allocations: 12 kB / 0.6337 GB, free: 8.273 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.5107, allocations: 8 kB / 0.6337 GB, free: 8.266 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003993/0.5111, allocations: 0.5937 MB / 0.6343 GB, free: 7.648 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5111, allocations: 0 / 0.6343 GB, free: 7.648 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007462/0.5119, allocations: 0.5347 MB / 0.6348 GB, free: 7.07 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.5119, allocations: 27.8 kB / 0.6349 GB, free: 7.043 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.009e-05/0.512, allocations: 47.56 kB / 0.6349 GB, free: 6.996 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.5122, allocations: 11.98 kB / 0.6349 GB, free: 6.984 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.5123, allocations: 32 kB / 0.635 GB, free: 6.953 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.5123, allocations: 15.98 kB / 0.635 GB, free: 6.938 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000337/0.5126, allocations: 271.1 kB / 0.6352 GB, free: 6.672 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5126, allocations: 4 kB / 0.6352 GB, free: 6.668 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001438/0.5141, allocations: 466.6 kB / 0.6357 GB, free: 6.211 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002419/0.5165, allocations: 1.664 MB / 0.6373 GB, free: 4.484 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001874/0.5184, allocations: 398.8 kB / 0.6377 GB, free: 4.098 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.5184, allocations: 4 kB / 0.6377 GB, free: 4.094 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007444/0.5191, allocations: 191.8 kB / 0.6379 GB, free: 3.906 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008121/0.5199, allocations: 130.5 kB / 0.638 GB, free: 3.777 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.285/1.805, allocations: 0.5401 GB / 1.178 GB, free: 48.15 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/1.805, allocations: 224.2 kB / 1.178 GB, free: 47.91 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003472/1.805, allocations: 160 kB / 1.178 GB, free: 47.78 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/1.806, allocations: 159.4 kB / 1.179 GB, free: 47.62 MB / 0.6387 GB Notification: Performance of SimCode: time 1.182e-06/1.806, allocations: 0 / 1.179 GB, free: 47.62 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04947/1.855, allocations: 21.16 MB / 1.199 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/14.87, allocations: 11.44 kB / 1.199 GB, free: 26.73 MB / 0.6387 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.739914453122765] Failed to read output from testmodel.py, exit status != 0: ['time', 'eps_h_is', 'eps', 'eta', 'lambda', 'Pr', 'p', 'T', 'd', 'h', 'u', 's', 'g', 'f', 'cp', 'cp2', 'cv', 'cv2', 'h_is', 'a', 'beta', 'beta2', 'kappa', 'kappa2', 'MM', 'h2', 'd2', 'err_T', 'err_d', 'err_u', 's_is', 'err_h_is'] 14.994794574100524 15.003591641 14.598411672 Calling exit ...