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.001345/0.001345, allocations: 111.1 kB / 20.44 MB, free: 1.059 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.001589/0.001589, allocations: 213.3 kB / 23.73 MB, free: 4.16 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.493/1.493, allocations: 230.5 MB / 257.4 MB, free: 7.82 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.2282/0.2282, allocations: 46.96 MB / 360.8 MB, free: 3.953 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="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.00254/0.00254, allocations: 79.88 kB / 0.4962 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3482, allocations: 66.09 MB / 0.5607 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01347/0.3617, allocations: 10.15 MB / 0.5707 GB, free: 9.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01422/0.3759, allocations: 10.3 MB / 0.5807 GB, free: 15.51 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004016/0.3763, allocations: 0 / 0.5807 GB, free: 15.51 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005636/0.3769, allocations: 67.52 kB / 0.5808 GB, free: 15.44 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01251/0.3894, allocations: 3.098 MB / 0.5838 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004566/0.3898, allocations: 154.9 kB / 0.5839 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006186/0.396, allocations: 3.963 MB / 0.5878 GB, free: 8.215 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.884e-05/0.3961, allocations: 20.56 kB / 0.5878 GB, free: 8.199 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002261/0.3963, allocations: 143.5 kB / 0.588 GB, free: 8.059 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01043/0.4067, allocations: 7.246 MB / 0.595 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.91e-05/0.4068, allocations: 11.94 kB / 0.5951 GB, free: 0.793 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005296/0.4121, allocations: 2.267 MB / 0.5973 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.4122, allocations: 51.75 kB / 0.5973 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.4124, allocations: 107.5 kB / 0.5974 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004451/0.4168, allocations: 1.711 MB / 0.5991 GB, free: 12.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.4168, allocations: 0 / 0.5991 GB, free: 12.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.77e-06/0.4169, allocations: 3.984 kB / 0.5991 GB, free: 12.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.4169, allocations: 0 / 0.5991 GB, free: 12.65 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.002416/0.4193, allocations: 0.9087 MB / 0.6 GB, free: 11.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.4193, allocations: 12.03 kB / 0.6 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.105e-05/0.4194, allocations: 58.73 kB / 0.6001 GB, free: 11.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005703/0.42, allocations: 80.72 kB / 0.6001 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.4203, allocations: 190.1 kB / 0.6003 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/0.4204, allocations: 25.03 kB / 0.6003 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.4204, allocations: 28.36 kB / 0.6004 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.4215, allocations: 0.5292 MB / 0.6009 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.4215, allocations: 8 kB / 0.6009 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.4215, allocations: 12 kB / 0.6009 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.4215, allocations: 8 kB / 0.6009 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.4227, allocations: 0.6771 MB / 0.6016 GB, free: 10 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.006973/0.4297, allocations: 2.603 MB / 0.6041 GB, free: 7.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006903/0.4304, allocations: 211.3 kB / 0.6043 GB, free: 7.105 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.4305, allocations: 69.39 kB / 0.6044 GB, free: 7.035 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07998/0.5105, allocations: 22.19 MB / 0.626 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008708/0.5114, allocations: 350.5 kB / 0.6264 GB, free: 400 kB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 3.626e-06/0.5114, allocations: 0 / 0.6264 GB, free: 400 kB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002804/0.5142, allocations: 0.8849 MB / 0.6272 GB, free: 15.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002982/0.5145, allocations: 474.6 kB / 0.6277 GB, free: 14.93 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.5147, allocations: 162.3 kB / 0.6279 GB, free: 14.76 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.5147, allocations: 37.7 kB / 0.6279 GB, free: 14.71 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.5148, allocations: 164.8 kB / 0.628 GB, free: 14.55 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.515, allocations: 134.9 kB / 0.6282 GB, free: 14.42 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.5151, allocations: 90.17 kB / 0.6283 GB, free: 14.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.5152, allocations: 330.8 kB / 0.6286 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.5154, allocations: 64.95 kB / 0.6286 GB, free: 13.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.5157, allocations: 314.1 kB / 0.6289 GB, free: 13.51 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006152/0.5164, allocations: 436 kB / 0.6294 GB, free: 12.96 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.5164, allocations: 0 / 0.6294 GB, free: 12.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007712/0.5171, allocations: 413.5 kB / 0.6297 GB, free: 12.55 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.5172, allocations: 12.19 kB / 0.6298 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.5172, allocations: 15.94 kB / 0.6298 GB, free: 12.53 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.5172, allocations: 12 kB / 0.6298 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/0.5191, allocations: 351.5 kB / 0.6301 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008187/0.5199, allocations: 1.18 MB / 0.6313 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.5202, allocations: 23.89 kB / 0.6313 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.103e-05/0.5202, allocations: 31.98 kB / 0.6313 GB, free: 10.89 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.0002045/0.5205, allocations: 153.7 kB / 0.6315 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.5206, allocations: 32.05 kB / 0.6315 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.522, allocations: 1.001 MB / 0.6325 GB, free: 9.664 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.066e-05/0.522, allocations: 15.98 kB / 0.6325 GB, free: 9.648 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.522, allocations: 0 / 0.6325 GB, free: 9.648 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.522, allocations: 4 kB / 0.6325 GB, free: 9.645 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.5237, allocations: 1.11 MB / 0.6336 GB, free: 8.477 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.5237, allocations: 4.312 kB / 0.6336 GB, free: 8.473 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.5247, allocations: 151.8 kB / 0.6337 GB, free: 8.324 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.5248, allocations: 4 kB / 0.6337 GB, free: 8.32 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.5248, allocations: 12 kB / 0.6337 GB, free: 8.309 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004099/0.5252, allocations: 0.586 MB / 0.6343 GB, free: 7.699 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.5252, allocations: 3.938 kB / 0.6343 GB, free: 7.695 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007773/0.526, allocations: 0.5347 MB / 0.6348 GB, free: 7.117 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.508e-05/0.526, allocations: 23.8 kB / 0.6349 GB, free: 7.094 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.592e-05/0.5261, allocations: 51.56 kB / 0.6349 GB, free: 7.043 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.5264, allocations: 11.98 kB / 0.6349 GB, free: 7.031 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.5265, allocations: 24.06 kB / 0.635 GB, free: 7.008 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.5265, allocations: 19.98 kB / 0.635 GB, free: 6.988 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003438/0.5268, allocations: 271.1 kB / 0.6352 GB, free: 6.723 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5268, allocations: 3.938 kB / 0.6352 GB, free: 6.719 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00153/0.5284, allocations: 466.6 kB / 0.6357 GB, free: 6.262 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.002934/0.5313, allocations: 1.666 MB / 0.6373 GB, free: 4.535 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.5329, allocations: 394.7 kB / 0.6377 GB, free: 4.152 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.5329, allocations: 4.188 kB / 0.6377 GB, free: 4.148 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007667/0.5337, allocations: 199.7 kB / 0.6379 GB, free: 3.953 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008693/0.5346, allocations: 126.5 kB / 0.638 GB, free: 3.828 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.315/1.85, allocations: 0.5401 GB / 1.178 GB, free: 27.13 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/1.85, allocations: 220.2 kB / 1.178 GB, free: 26.89 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003602/1.851, allocations: 171.4 kB / 1.178 GB, free: 26.74 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/1.851, allocations: 159.4 kB / 1.179 GB, free: 26.59 MB / 0.6231 GB Notification: Performance of SimCode: time 9.32e-07/1.851, allocations: 0 / 1.179 GB, free: 26.59 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0469/1.898, allocations: 21.17 MB / 1.199 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/15.5, allocations: 0 / 1.199 GB, free: 5.652 MB / 0.6231 GB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9992e-05 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.801779209636152] 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.637388004921377 15.880777395 15.461189147 Calling exit ...