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.001291/0.001291, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001423/0.001423, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.413/1.413, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.2221/0.2221, allocations: 46.94 MB / 361.6 MB, free: 3.961 MB / 286.1 MB " [Timeout remaining time 180] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 79.81 kB / 0.497 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3447, allocations: 66.07 MB / 0.5615 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01474/0.3594, allocations: 10.15 MB / 0.5714 GB, free: 9.828 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01235/0.3718, allocations: 10.28 MB / 0.5814 GB, free: 15.51 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.3719, allocations: 0 / 0.5814 GB, free: 15.51 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.3722, allocations: 71.52 kB / 0.5815 GB, free: 15.44 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008237/0.3804, allocations: 3.091 MB / 0.5845 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.3808, allocations: 161.8 kB / 0.5847 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005727/0.3866, allocations: 3.963 MB / 0.5886 GB, free: 8.211 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.007e-05/0.3866, allocations: 16.58 kB / 0.5886 GB, free: 8.199 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.3868, allocations: 151.5 kB / 0.5887 GB, free: 8.051 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01005/0.3969, allocations: 7.246 MB / 0.5958 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.627e-05/0.3969, allocations: 16 kB / 0.5958 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005801/0.4027, allocations: 2.369 MB / 0.5981 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.4029, allocations: 47.75 kB / 0.5982 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.4031, allocations: 111.5 kB / 0.5983 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005483/0.4086, allocations: 1.714 MB / 0.5999 GB, free: 12.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.4086, allocations: 0 / 0.5999 GB, free: 12.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4086, allocations: 0 / 0.5999 GB, free: 12.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.4086, allocations: 0 / 0.5999 GB, free: 12.54 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.002686/0.4113, allocations: 0.9087 MB / 0.6008 GB, free: 11.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.4113, allocations: 12.03 kB / 0.6008 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.507e-05/0.4114, allocations: 4.844 kB / 0.6008 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.9e-05/0.4114, allocations: 66.72 kB / 0.6009 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006402/0.4121, allocations: 84.72 kB / 0.601 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.4125, allocations: 190.1 kB / 0.6012 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.4125, allocations: 21.03 kB / 0.6012 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/0.4125, allocations: 28.12 kB / 0.6012 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.4136, allocations: 0.5293 MB / 0.6017 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.4136, allocations: 0 / 0.6017 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.4137, allocations: 16 kB / 0.6018 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.4137, allocations: 8 kB / 0.6018 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.4149, allocations: 0.6927 MB / 0.6024 GB, free: 9.867 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.006836/0.4217, allocations: 2.603 MB / 0.605 GB, free: 7.184 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000716/0.4224, allocations: 207.3 kB / 0.6052 GB, free: 6.973 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.4226, allocations: 69.39 kB / 0.6052 GB, free: 6.902 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08182/0.5044, allocations: 22.19 MB / 0.6269 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008713/0.5053, allocations: 346.5 kB / 0.6272 GB, free: 264 kB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 3.166e-06/0.5053, allocations: 4 kB / 0.6272 GB, free: 260 kB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.003012/0.5083, allocations: 0.8892 MB / 0.6281 GB, free: 15.36 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002883/0.5086, allocations: 474.6 kB / 0.6286 GB, free: 14.79 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.5087, allocations: 154.4 kB / 0.6287 GB, free: 14.62 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.5088, allocations: 33.7 kB / 0.6287 GB, free: 14.59 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.5089, allocations: 172.3 kB / 0.6289 GB, free: 14.41 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.509, allocations: 130.9 kB / 0.629 GB, free: 14.29 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.5092, allocations: 94.12 kB / 0.6291 GB, free: 14.19 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.5093, allocations: 326.8 kB / 0.6294 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.5095, allocations: 72.89 kB / 0.6295 GB, free: 13.79 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.5098, allocations: 310.1 kB / 0.6298 GB, free: 13.37 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005739/0.5104, allocations: 436 kB / 0.6302 GB, free: 12.83 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.5104, allocations: 4 kB / 0.6302 GB, free: 12.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007469/0.5111, allocations: 405.2 kB / 0.6306 GB, free: 12.42 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.5112, allocations: 8 kB / 0.6306 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.5112, allocations: 8 kB / 0.6306 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.963e-05/0.5112, allocations: 12 kB / 0.6306 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001978/0.5132, allocations: 356 kB / 0.631 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007929/0.514, allocations: 1.18 MB / 0.6321 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.5142, allocations: 27.89 kB / 0.6322 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-05/0.5143, allocations: 32.06 kB / 0.6322 GB, free: 10.76 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.0001823/0.5145, allocations: 155 kB / 0.6323 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.036e-05/0.5145, allocations: 27.86 kB / 0.6324 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.5159, allocations: 0.9733 MB / 0.6333 GB, free: 9.566 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/0.5159, allocations: 15.98 kB / 0.6333 GB, free: 9.551 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.5159, allocations: 4.219 kB / 0.6333 GB, free: 9.547 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.5159, allocations: 4 kB / 0.6333 GB, free: 9.543 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.5173, allocations: 1.104 MB / 0.6344 GB, free: 8.379 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.5173, allocations: 4 kB / 0.6344 GB, free: 8.375 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.5184, allocations: 147.9 kB / 0.6346 GB, free: 8.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.5184, allocations: 4 kB / 0.6346 GB, free: 8.227 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.5185, allocations: 8 kB / 0.6346 GB, free: 8.219 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003455/0.5188, allocations: 0.586 MB / 0.6351 GB, free: 7.609 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.5188, allocations: 3.938 kB / 0.6351 GB, free: 7.605 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006783/0.5195, allocations: 0.5348 MB / 0.6357 GB, free: 7.027 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/0.5195, allocations: 27.73 kB / 0.6357 GB, free: 7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.27e-05/0.5196, allocations: 59.44 kB / 0.6357 GB, free: 6.941 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.5199, allocations: 11.98 kB / 0.6358 GB, free: 6.93 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.5199, allocations: 23.97 kB / 0.6358 GB, free: 6.906 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.5199, allocations: 11.98 kB / 0.6358 GB, free: 6.895 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003194/0.5202, allocations: 275.1 kB / 0.6361 GB, free: 6.621 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5202, allocations: 4 kB / 0.6361 GB, free: 6.617 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001515/0.5218, allocations: 466.5 kB / 0.6365 GB, free: 6.16 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.002507/0.5243, allocations: 1.679 MB / 0.6381 GB, free: 4.418 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.5259, allocations: 389.8 kB / 0.6385 GB, free: 4.039 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5259, allocations: 0 / 0.6385 GB, free: 4.039 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007856/0.5267, allocations: 207.3 kB / 0.6387 GB, free: 3.84 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008132/0.5275, allocations: 121.9 kB / 0.6388 GB, free: 3.719 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.16/1.688, allocations: 0.54 GB / 1.179 GB, free: 26.84 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/1.688, allocations: 224.2 kB / 1.179 GB, free: 26.6 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003789/1.688, allocations: 166.6 kB / 1.179 GB, free: 26.47 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/1.688, allocations: 159.4 kB / 1.179 GB, free: 26.31 MB / 0.6231 GB Notification: Performance of SimCode: time 1.283e-06/1.688, allocations: 4 kB / 1.179 GB, free: 26.31 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0469/1.735, allocations: 20.95 MB / 1.2 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/15.27, allocations: 8.062 kB / 1.2 GB, free: 5.57 MB / 0.6231 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: 18.293197783990763] 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'] 15.444399422034621 15.657722172 15.246818513 Calling exit ...