Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 214.1 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2233/0.2233, allocations: 44.93 MB / 359.6 MB, free: 6.055 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 63.91 kB / 0.4938 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3291, allocations: 65.48 MB / 0.5578 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01286/0.3419, allocations: 10.15 MB / 0.5677 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01243/0.3543, allocations: 10.28 MB / 0.5777 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.3545, allocations: 3.938 kB / 0.5777 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003331/0.3548, allocations: 67.52 kB / 0.5778 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008951/0.3638, allocations: 3.099 MB / 0.5808 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.3642, allocations: 163 kB / 0.581 GB, free: 15.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005805/0.37, allocations: 3.967 MB / 0.5849 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.307e-05/0.37, allocations: 12.58 kB / 0.5849 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.3702, allocations: 143.5 kB / 0.585 GB, free: 11.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009961/0.3802, allocations: 7.25 MB / 0.5921 GB, free: 4.277 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.778e-05/0.3803, allocations: 8 kB / 0.5921 GB, free: 4.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005303/0.3856, allocations: 2.377 MB / 0.5944 GB, free: 1.891 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.3857, allocations: 47.75 kB / 0.5945 GB, free: 1.844 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.3859, allocations: 115.5 kB / 0.5946 GB, free: 1.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003934/0.3898, allocations: 1.707 MB / 0.5962 GB, free: 20 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3898, allocations: 3.984 kB / 0.5962 GB, free: 16 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3898, allocations: 0 / 0.5962 GB, free: 16 kB / 430.1 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.3898, allocations: 0 / 0.5962 GB, free: 16 kB / 430.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.002202/0.392, allocations: 0.9087 MB / 0.5971 GB, free: 15.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.3921, allocations: 8.031 kB / 0.5971 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.432e-05/0.3921, allocations: 8.844 kB / 0.5971 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.924e-05/0.3921, allocations: 58.73 kB / 0.5972 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005963/0.3927, allocations: 80.72 kB / 0.5973 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.3931, allocations: 202.1 kB / 0.5975 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.3931, allocations: 17.03 kB / 0.5975 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.3932, allocations: 32.12 kB / 0.5975 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.3942, allocations: 0.5293 MB / 0.598 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3942, allocations: 4 kB / 0.598 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.3942, allocations: 15.94 kB / 0.598 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.3943, allocations: 8 kB / 0.5981 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.3954, allocations: 0.6927 MB / 0.5987 GB, free: 13.34 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.00654/0.4019, allocations: 2.599 MB / 0.6013 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000668/0.4026, allocations: 211.3 kB / 0.6015 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.4027, allocations: 65.39 kB / 0.6015 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08067/0.4834, allocations: 22.19 MB / 0.6232 GB, free: 4.137 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008304/0.4842, allocations: 350.6 kB / 0.6235 GB, free: 3.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.124e-06/0.4842, allocations: 0 / 0.6235 GB, free: 3.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002757/0.487, allocations: 0.8806 MB / 0.6244 GB, free: 2.844 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002462/0.4872, allocations: 478.6 kB / 0.6249 GB, free: 2.266 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.4874, allocations: 159.7 kB / 0.625 GB, free: 2.105 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.4874, allocations: 33.7 kB / 0.625 GB, free: 2.066 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.4875, allocations: 168.3 kB / 0.6252 GB, free: 1.898 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.4876, allocations: 131.4 kB / 0.6253 GB, free: 1.77 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.4878, allocations: 102.1 kB / 0.6254 GB, free: 1.664 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.4879, allocations: 326.8 kB / 0.6257 GB, free: 1.336 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.488, allocations: 64.95 kB / 0.6258 GB, free: 1.273 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/0.4884, allocations: 317.5 kB / 0.6261 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005355/0.4889, allocations: 432 kB / 0.6265 GB, free: 316 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.4889, allocations: 7.938 kB / 0.6265 GB, free: 308 kB / 462.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007073/0.4896, allocations: 397.7 kB / 0.6269 GB, free: 15.91 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.4896, allocations: 8 kB / 0.6269 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.4897, allocations: 12.2 kB / 0.6269 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.4897, allocations: 12 kB / 0.6269 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001988/0.4917, allocations: 351.5 kB / 0.6273 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007169/0.4924, allocations: 1.18 MB / 0.6284 GB, free: 14.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.4926, allocations: 23.89 kB / 0.6284 GB, free: 14.28 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/0.4927, allocations: 31.98 kB / 0.6285 GB, free: 14.25 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.0001639/0.4928, allocations: 153.7 kB / 0.6286 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.154e-05/0.4929, allocations: 28.05 kB / 0.6286 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.4942, allocations: 0.9849 MB / 0.6296 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.4942, allocations: 7.984 kB / 0.6296 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.4942, allocations: 7.938 kB / 0.6296 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.4942, allocations: 0 / 0.6296 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.4957, allocations: 1.104 MB / 0.6307 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.4957, allocations: 12.25 kB / 0.6307 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.4968, allocations: 139.9 kB / 0.6308 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4968, allocations: 4 kB / 0.6309 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.4968, allocations: 12 kB / 0.6309 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003572/0.4972, allocations: 0.5898 MB / 0.6314 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.019e-05/0.4972, allocations: 4.031 kB / 0.6314 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006746/0.4978, allocations: 0.5269 MB / 0.632 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.4979, allocations: 35.72 kB / 0.632 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.009e-05/0.498, allocations: 51.5 kB / 0.632 GB, free: 10.42 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.4982, allocations: 19.97 kB / 0.6321 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.4983, allocations: 27.89 kB / 0.6321 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.4983, allocations: 20.09 kB / 0.6321 GB, free: 10.36 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003222/0.4986, allocations: 271.1 kB / 0.6324 GB, free: 10.09 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4986, allocations: 0 / 0.6324 GB, free: 10.09 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001575/0.5002, allocations: 470.5 kB / 0.6328 GB, free: 9.629 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.00269/0.5029, allocations: 1.664 MB / 0.6344 GB, free: 7.906 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001594/0.5045, allocations: 390.4 kB / 0.6348 GB, free: 7.523 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.5045, allocations: 0.5 kB / 0.6348 GB, free: 7.523 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008058/0.5053, allocations: 206.2 kB / 0.635 GB, free: 7.324 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008393/0.5061, allocations: 122.5 kB / 0.6351 GB, free: 7.203 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.359/1.865, allocations: 0.54 GB / 1.175 GB, free: 29.29 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/1.865, allocations: 224.2 kB / 1.175 GB, free: 29.05 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003505/1.865, allocations: 168.5 kB / 1.176 GB, free: 28.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/1.865, allocations: 159.4 kB / 1.176 GB, free: 28.75 MB / 0.6231 GB Notification: Performance of SimCode: time 1.153e-06/1.865, allocations: 3.75 kB / 1.176 GB, free: 28.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04164/1.907, allocations: 20.95 MB / 1.196 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/16.13, allocations: 1.5 kB / 1.196 GB, free: 8.105 MB / 0.6231 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.356525204028003] 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'] 16.314609117107466 16.54255705 16.150108925 Calling exit ...